-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathProject.h
More file actions
56 lines (48 loc) · 1.23 KB
/
Project.h
File metadata and controls
56 lines (48 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//
// Created by georgeckito on 8/5/2024.
//
#ifndef PROJECT_H
#define PROJECT_H
#include <string>
#include <vector>
#include "json.hpp"
#include "Utility/Utility.h"
namespace project {
enum projectType {
API,
React,
Dbot
};
class Project {
private:
projectType type;
std::string path;
std::string srcDir;
std::vector<std::string> files;
std::vector<std::string> folders;
nlohmann::json jsquick;
std::string packages;
public:
std::string getPath();
void setPath(const std::string& path);
projectType getType();
void setType(projectType type);
std::string getPackages();
void setPackages(const std::string& packages);
std::string getSrcDir();
void setSrcDir(const std::string& srcDir);
std::vector<std::string> getFiles();
void setFiles(const std::vector<std::string>& files);
std::vector<std::string> getFolders();
void setFolders(const std::vector<std::string>& files);
nlohmann::json getJsquick();
void setJsquick(const nlohmann::json& jsquick);
void create();
void createFiles();
void createFolders();
void createJsquick();
void createPackage();
void installPackages();
};
} // project
#endif //PROJECT_H