]> git.tdb.fi Git - builder.git/blobdiff - source/csourcefile.h
The mingw port of gcc doesn't recognize -pthread
[builder.git] / source / csourcefile.h
index 035f66780725135a4c49799a03666a8fffcc07d7..9ed736a4f770566e943cbdbf447235d37af9b067 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef CSOURCEFILE_H_
 #define CSOURCEFILE_H_
 
-#include "misc.h"
 #include "sourcefile.h"
 
 /**
@@ -9,16 +8,21 @@ Represents a C or C++ source file.
 */
 class CSourceFile: public SourceFile
 {
+public:
+       typedef std::list<std::string> IncludeList;
+
 private:
-       StringList includes;
+       IncludeList includes;
 
 public:
        CSourceFile(Builder &, const Msp::FS::Path &);
        CSourceFile(Builder &, const Component &, const Msp::FS::Path &);
 
        virtual const char *get_type() const { return "CSourceFile"; }
-       const StringList &get_includes() const { return includes; }
+       const IncludeList &get_includes() const { return includes; }
+private:
        virtual void find_dependencies();
+       virtual void modified();
 };
 
 #endif