]> git.tdb.fi Git - builder.git/blobdiff - source/csourcefile.h
There's no good reason to abbreviate this
[builder.git] / source / csourcefile.h
index 9e231d9f36cd4ea4353a9fc331977ab8affc8a0c..8c61a515db5544ef4e274d7037a41e456725fd07 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef CSOURCEFILE_H_
 #define CSOURCEFILE_H_
 
-#include "misc.h"
 #include "sourcefile.h"
 
 /**
@@ -9,16 +8,20 @@ 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; }
-       virtual void find_depends();
+       const IncludeList &get_includes() const { return includes; }
+private:
+       virtual void find_dependencies();
 };
 
 #endif