#include<iostream>
#include<vector>
-#include "modelCDMIProjectTreeNode.h"
+#include "modelCDMFolder.h"
-class modelCDMLibrary : public modelCDMIProjectTreeNode
+class modelCDMLibrary : public modelCDMFolder
{
public:
modelCDMLibrary();
+ modelCDMLibrary(const std::string& path, const std::string& name, const int& level = 2);
~modelCDMLibrary();
- const std::string& GetName() const;
+ const std::string& GetNameLibrary() const;
+ bool SetNameLibrary(const std::string& fileName, std::string*& result);
- bool CreateFolder(
- const std::string& name,
- std::string*& result,
- const std::string& path = "/"
- );
- bool OpenCMakeListsFile(std::string*& result);
- bool Refresh(std::string*& result);
+ modelCDMFolder* CreateFolder(const std::string& name, std::string*& result);
+
+ virtual const bool Refresh(std::string*& result);
private:
- std::string name;
- std::vector<modelCDMLibrary*> libraries;
+ std::string nameLibrary;
+ std::vector<modelCDMFolder*> folders;
};
#endif /* MODELCDMLIBRARY_H_ */