X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fexecutable.h;h=6bba919eb3f35b800c2c6539276069af451d57c7;hb=1d687970cc35e54c3335f4aa2fdef23424fe0a06;hp=0dc4fc5223b0f671af15901397af594a63dc6679;hpb=66d1078c04849ec17a7343d0494d6ed087e04318;p=builder.git diff --git a/source/executable.h b/source/executable.h index 0dc4fc5..6bba919 100644 --- a/source/executable.h +++ b/source/executable.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of builder -Copyright © 2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef EXECUTABLE_H_ #define EXECUTABLE_H_ @@ -14,7 +7,10 @@ class Executable: public Binary { public: Executable(Builder &, const Component &, const std::list &); + virtual const char *get_type() const { return "Executable"; } +private: + static std::string generate_filename(const Component &); }; #endif