X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fapplication.h;fp=source%2Fcore%2Fapplication.h;h=4ae8c5614250819ec6aa28ed83c7cc6461f7ee69;hp=b51ac3c446e8e87028623ea0db5751871cacc874;hb=c2eeec205dbf17f6ca38fda2671c6aaf2d1c505f;hpb=b56eb5ec1da675da0c66abc53c1e4f6c4e4cccbd diff --git a/source/core/application.h b/source/core/application.h index b51ac3c..4ae8c56 100644 --- a/source/core/application.h +++ b/source/core/application.h @@ -25,7 +25,6 @@ protected: virtual ~Starter() { } virtual Application *create_app(int, char **) = 0; - virtual void usage(const char *, const char *, bool) = 0; }; bool done; @@ -44,7 +43,6 @@ public: virtual ~Application() { } static int run(int, char **, void * =0); - static void usage(const char *, const char *, bool); static void *get_data() { return data_; } protected: @@ -66,7 +64,6 @@ private: { public: Application *create_app(int argc, char **argv) { return new T(argc, argv); } - void usage(const char *r, const char *a, bool b) { T::usage(r, a, b); } }; static Starter starter_;