add a 'unicode' property to modules (not yet supported by mingw, need to add a librar...
[reactos.git] / reactos / tools / rbuild / rbuild.h
index 2b3ca26..87992f1 100644 (file)
@@ -57,6 +57,8 @@ typedef std::vector<std::string> string_list;
 #define SBAD_SEP "\\"
 #endif
 
+#define MS_VS_DEF_VERSION "7.10"
+
 class Project;
 class IfableData;
 class Module;
@@ -95,6 +97,7 @@ public:
        bool AutomaticDependencies;
        bool CheckDependenciesForModuleOnly;
        std::string CheckDependenciesForModuleOnlyModule;
+       std::string VSProjectVersion;
        bool MakeHandlesInstallDirectories;
        bool GenerateProxyMakefilesInSourceTree;
 };
@@ -211,6 +214,7 @@ public:
        const XMLElement& node;
        std::string xmlbuildFile;
        std::string name;
+       std::string guid;
        std::string extension;
        std::string entrypoint;
        std::string baseaddress;
@@ -218,6 +222,7 @@ public:
        ModuleType type;
        ImportLibrary* importLibrary;
        bool mangledSymbols;
+       bool isUnicode;
        Bootstrap* bootstrap;
        IfableData non_if_data;
        std::vector<Invoke*> invocations;
@@ -233,7 +238,7 @@ public:
        std::string installName;
        std::string aliasedModuleName;
        bool useWRC;
-       bool enableWarnings;
+       bool allowWarnings;
        bool enabled;
 
        Module ( const Project& project,
@@ -739,10 +744,18 @@ private:
        std::string StripSymbol ( std::string symbol );
 };
 
+extern std::string
+Right ( const std::string& s, size_t n );
+
+extern std::string
+Replace ( const std::string& s, const std::string& find, const std::string& with );
 
 extern std::string
 FixSeparator ( const std::string& s );
 
+extern std::string
+DosSeparator ( const std::string& s );
+
 extern std::string
 ReplaceExtension (
        const std::string& filename,