projectmanager.h 534 B

123456789101112131415161718192021222324
  1. #ifndef PROJECTMANAGER_H
  2. #define PROJECTMANAGER_H
  3. #include <string>
  4. class projectManager
  5. {
  6. public:
  7. projectManager();
  8. int createProject(std::string id,std::string name,std::string desc,std::string path);
  9. int delProject(std::string id);
  10. int queryProject(std::string id);
  11. int updateProject(std::string id,std::string name,std::string desc,std::string path);
  12. private:
  13. void setId();
  14. public:
  15. std::string mId;
  16. std::string mName;
  17. std::string mDesc;
  18. std::string mPath;
  19. };
  20. #endif // PROJECTMANAGER_H