#include "modelCDMFile.h"
+/**
+ * Class representing the CMakeLists.txt file in a folder of a Crea project.
+ */
class modelCDMCMakeListsFile : public modelCDMFile
{
public:
+ /**
+ * Default Constructor.
+ */
modelCDMCMakeListsFile();
+ /**
+ * CMakeLists file Constructor.
+ * @param parent Parent node of the CMakeLists file node.
+ * @param path Full path to the CMakeLists file node.
+ * @param name File name of the CMakeLists file node.
+ * @param level Project hierarchy level of the CMakeLists file node.
+ */
modelCDMCMakeListsFile(modelCDMIProjectTreeNode* parent, const std::string& path, const std::string& name = "CMakeLists.txt", const int& level = 1);
+ /**
+ * Destructor
+ */
~modelCDMCMakeListsFile();
+ /**
+ * Opens the file in the system default code editor.
+ * @param result Result message.
+ * @return True if the operation was successful.
+ */
bool OpenFile(std::string*& result);
+ /**
+ * Refreshes the state of the CMakeLists file.
+ * @param result Result message.
+ * @return True if the operation was successful.
+ */
virtual const bool Refresh(std::string*& result);
};