]> git.tdb.fi Git - builder.git/blobdiff - source/objectfile.h
Put constructor helper functions next to the constructors
[builder.git] / source / objectfile.h
index af47c66863088ae2448f718e932338d42957ca99..975409580928ce7cf61501cf715cbba91bb83df8 100644 (file)
@@ -17,6 +17,10 @@ private:
        
 public:
        ObjectFile(Builder &, const Component &, SourceFile &);
+private:
+       static Msp::FS::Path generate_target_path(const Component &, const std::string &);
+
+public:
        virtual const char *get_type() const { return "ObjectFile"; }
        const Component &get_component() const { return comp; }
        SourceFile &get_source() const { return source; }
@@ -29,8 +33,6 @@ public:
 private:
        /** Recursively looks for header targets and adds them as dependencies. */
        void find_depends(FileTarget *);
-
-       static Msp::FS::Path generate_target_path(const Component &, const std::string &);
 };
 
 #endif