]> git.tdb.fi Git - builder.git/blobdiff - source/executable.h
Code reorganizing and cleanup
[builder.git] / source / executable.h
index f118b8762b0ab568cc2ad8ae5e88a1299a754c5d..7fefef7a469326246b706b0f5f72d4a7282f3add 100644 (file)
@@ -10,9 +10,10 @@ class Executable: public Target
 {
 public:
        Executable(Builder &, const Component &, const std::list<ObjectFile *> &);
-       const char *get_type() const { return "Executable"; }
-       void find_depends();
-       Action *build();
+       const char      *get_type() const      { return "Executable"; }
+       const Component &get_component() const { return comp; }
+       void            find_depends();
+       Action          *build();
 private:
        const Component &comp;