]> git.tdb.fi Git - builder.git/blobdiff - source/sourcefile.h
Reorder class members
[builder.git] / source / sourcefile.h
index ea6ed05f9efab6bc8d547cd5e0b33799dff549de..ec81d2466a896885d5027f97112661a062ab9525 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2006-200 Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
@@ -17,17 +17,18 @@ Represents a C or C++ source file.
 */
 class SourceFile: public Target
 {
+private:
+       const Component *comp;
+       StringList includes;
+
 public:
        SourceFile(Builder &, const Component *, const std::string &);
+       virtual const char *get_type() const { return "SourceFile"; }
        const StringList &get_includes() const { return includes; }
-       const char       *get_type() const     { return "SourceFile"; }
-       const Component  *get_component() const { return comp; }
-       void             find_depends();
+       const Component *get_component() const { return comp; }
+       virtual void find_depends();
 private:
-       const Component *comp;
-       StringList      includes;
-
-       virtual Action    *create_action()     { return 0; }
+       virtual Action *create_action() { return 0; }
 };
 
 #endif