PCH support
[reactos.git] / reactos / tools / rbuild / backend / mingw / modulehandler.h
index 3ce812c..7995c58 100644 (file)
@@ -5,7 +5,7 @@
 \r
 extern std::string\r
 ReplaceExtension ( const std::string& filename,\r
-                      const std::string& newExtension );\r
+                   const std::string& newExtension );\r
 \r
 \r
 class MingwModuleHandler\r
@@ -20,6 +20,7 @@ public:
        virtual ~MingwModuleHandler();\r
 \r
        static void SetMakefile ( FILE* f );\r
+       static void SetUsePch ( bool use_pch );\r
        static MingwModuleHandler* LookupHandler ( const std::string& location,\r
                                                   ModuleType moduletype_ );\r
        virtual void Process ( const Module& module, string_list& clean_files ) = 0;\r
@@ -73,6 +74,7 @@ protected:
        std::string GetLinkingDependencies ( const Module& module ) const;\r
        bool IsCPlusPlusModule ( const Module& module ) const;\r
        static FILE* fMakefile;\r
+       static bool use_pch;\r
        static std::set<std::string> directory_set;\r
 private:\r
        std::string ConcatenatePaths ( const std::string& path1,\r