Merge trunk HEAD (r46369)
[reactos.git] / reactos / tools / rbuild / rbuild.h
index cf93ad9..e5be60c 100644 (file)
@@ -15,8 +15,8 @@
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
-#ifndef __RBUILD_H
-#define __RBUILD_H
+
+#pragma once
 
 #include "pch.h"
 
@@ -68,7 +68,7 @@ extern char cBadSep;
 #define DEF_SBAD_SEP "\\"
 #endif
 
-#define MS_VS_DEF_VERSION "7.10"
+#define MS_VS_DEF_VERSION "9.00"
 
 class XmlNode;
 class Directory;
@@ -167,6 +167,13 @@ enum LinkerSet
        MicrosoftLink
 };
 
+enum SpecFileType
+{
+    None,
+    Spec = 1,
+    PSpec = 2
+};
+
 class Configuration
 {
 public:
@@ -197,6 +204,7 @@ public:
        static std::string GetArch ();
        static std::string GetIntermediatePath ();
        static std::string GetOutputPath ();
+       static std::string GetSourcePath ();
        static std::string GetCdOutputPath ();
        static std::string GetInstallPath ();
        static std::string GetAutomakeFile ( const std::string& defaultFile );
@@ -427,6 +435,7 @@ public:
        void InvokeModule () const;
        void ProcessXML ();
        std::string GetDllName() const;
+       SpecFileType IsSpecDefinitionFile () const;
 private:
        void SetImportLibrary ( ImportLibrary* importLibrary );
        void SetDelayImportLibrary ( ImportLibrary* importLibrary );
@@ -1089,5 +1098,3 @@ NormalizeFilename ( const std::string& filename );
 
 extern std::string
 ToLower ( std::string filename );
-
-#endif /* __RBUILD_H */