- Add specific properties to the keyboardlayout module type. They will assist us...
[reactos.git] / reactos / tools / rbuild / rbuild.h
index b2a7367..cac006b 100644 (file)
@@ -134,6 +134,7 @@ public:
        std::string name;
        directory_map subdirs;
        Directory ( const std::string& name );
+       ~Directory();
        void Add ( const char* subdir );
        void GenerateTree ( DirectoryLocation root,
                            bool verbose );
@@ -256,7 +257,7 @@ private:
        const Property* LookupProperty ( const std::string& name ) const;
        void SetConfigurationOption ( char* s,
                                      std::string name,
-                                     std::string* alternativeName );
+                                     std::string alternativeName );
        void SetConfigurationOption ( char* s,
                                      std::string name );
        void ReadXml ();
@@ -300,13 +301,25 @@ enum ModuleType
        EmbeddedTypeLib = 26,
        ElfExecutable = 27,
        RpcProxy,
+       HostStaticLibrary,
+       TypeDontCare,
+       Cabinet,
+       KeyboardLayout
 };
 
 enum HostType
 {
        HostFalse,
        HostDefault,
-       HostTrue
+       HostTrue,
+       HostDontCare,
+};
+
+enum CompilerType
+{
+       CompilerTypeDontCare,
+       CompilerTypeCC,
+       CompilerTypeCPP,
 };
 
 class FileLocation
@@ -363,6 +376,10 @@ public:
        FileLocation *output; // "path/foo.exe"
        FileLocation *dependency; // "path/foo.exe" or "path/libfoo.a"
        FileLocation *install;
+       std::string description;
+       std::string lcid;
+       std::string layoutId;
+       std::string layoutNameResId;
 
        Module ( const Project& project,
                 const XMLElement& moduleNode,
@@ -560,6 +577,7 @@ public:
        ImportLibrary ( const Project& project,
                        const XMLElement& node,
                        const Module& module );
+       ~ImportLibrary ();
 };
 
 
@@ -590,6 +608,7 @@ public:
        const Module* module;
        const XMLElement& node;
        std::string flag;
+       CompilerType compiler;
 
        CompilerFlag ( const Project& project,
                       const XMLElement& compilerFlagNode );
@@ -628,11 +647,11 @@ class LinkerScript
 public:
        const XMLElement& node;
        const Module& module;
-       FileLocation file;
+       const FileLocation *file;
 
        LinkerScript ( const XMLElement& node,
                       const Module& module,
-                      const FileLocationfile );
+                      const FileLocation *file );
        ~LinkerScript ();
        void ProcessXML();
 };
@@ -644,6 +663,7 @@ public:
        const Project& project;
        const Module* module;
        std::string name, value;
+       bool isInternal;
 
        Property ( const XMLElement& node_,
                   const Project& project_,
@@ -806,6 +826,7 @@ public:
        CDFile ( const Project& project,
                 const XMLElement& bootstrapNode,
                 const std::string& path );
+       ~CDFile ();
 private:
        static std::string ReplaceVariable ( const std::string& name,
                                             const std::string& value,
@@ -822,6 +843,7 @@ public:
        InstallFile ( const Project& project,
                      const XMLElement& bootstrapNode,
                      const std::string& path );
+       ~InstallFile ();
 };
 
 
@@ -830,12 +852,13 @@ class PchFile
 public:
        const XMLElement& node;
        const Module& module;
-       FileLocation file;
+       const FileLocation *file;
 
        PchFile (
                const XMLElement& node,
                const Module& module,
-               const FileLocation& file );
+               const FileLocation *file );
+       ~PchFile();
        void ProcessXML();
 };