#pragma once /*========================================================================= medInria Copyright (c) INRIA 2013 - 2020. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =========================================================================*/ #include #include #include class medFirstStartUpdateFilePrivate; class medFirstStartUpdateFile : public QObject { public: medFirstStartUpdateFile(QString filePath, QString featureName, QString originalFilePath, std::function update = nullptr, std::function init = nullptr); ~medFirstStartUpdateFile(); bool installFile(); private: bool prepareFile(); bool currentFileOutdated(); private: medFirstStartUpdateFilePrivate *d; };