12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #ifndef NET_SOLUTION_H
- #define NET_SOLUTION_H
- #include "core/map.h"
- #include "core/ustring.h"
- struct DotNetSolution {
- String name;
- struct ProjectInfo {
- String guid;
- String relpath;
- Vector<String> configs;
- };
- void add_new_project(const String &p_name, const ProjectInfo &p_project_info);
- bool has_project(const String &p_name) const;
- const ProjectInfo &get_project_info(const String &p_name) const;
- bool remove_project(const String &p_name);
- Error save();
- bool set_path(const String &p_existing_path);
- String get_path();
- DotNetSolution(const String &p_name);
- private:
- String path;
- Map<String, ProjectInfo> projects;
- };
- #endif
|