break XML-parsing stuff into it's own files, and fix 'make test'
[reactos.git] / reactos / tools / rbuild / rbuild.h
1 #ifndef __RBUILD_H
2 #define __RBUILD_H
3
4 #include "XML.h"
5
6 #include <string>
7 #include <vector>
8
9 class Project;
10 class Module;
11 class File;
12
13 class Project
14 {
15 public:
16 std::string name;
17 std::vector<Module*> modules;
18
19 ~Project();
20 void ProcessXML ( const XMLElement& e, const std::string& path );
21 };
22
23 class Module
24 {
25 public:
26 const XMLElement& node;
27 std::string name;
28 std::string path;
29 std::vector<File*> files;
30
31 Module ( const XMLElement& moduleNode,
32 const std::string& moduleName,
33 const std::string& modulePath );
34
35 ~Module();
36
37 void ProcessXML ( const XMLElement& e, const std::string& path );
38 };
39
40 class File
41 {
42 public:
43 std::string name;
44
45 File ( const std::string& _name );
46 };
47
48 #endif /* __RBUILD_H */