X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FmodelCDMCMakeListsFile.h;h=5d51e3dcd5008fc5b2970670fcb8667a3d924990;hb=71c071fbb1e2af618f6caa489351b966e1a54b1a;hp=ac9ce71123258571c7b45219a6503cf35f10321b;hpb=11150e550ff03ee658e90cda4b475b4c24da0a7f;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMCMakeListsFile.h b/lib/creaDevManagerLib/modelCDMCMakeListsFile.h index ac9ce71..5d51e3d 100644 --- a/lib/creaDevManagerLib/modelCDMCMakeListsFile.h +++ b/lib/creaDevManagerLib/modelCDMCMakeListsFile.h @@ -37,14 +37,40 @@ #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); };