From: Mikko Rasa Date: Mon, 25 Jul 2011 14:24:22 +0000 (+0300) Subject: Update the tool to use the new RegisteredApplication class X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=0e1271599dcb9f91952657e90ea8901dd5520cae;p=libs%2Fdatafile.git Update the tool to use the new RegisteredApplication class --- diff --git a/tool/tool.cpp b/tool/tool.cpp index 570d85b..4e66087 100644 --- a/tool/tool.cpp +++ b/tool/tool.cpp @@ -76,5 +76,3 @@ int DataTool::main() return 0; } - -Application::RegApp DataTool::reg; diff --git a/tool/tool.h b/tool/tool.h index d10dc7d..a43fbfb 100644 --- a/tool/tool.h +++ b/tool/tool.h @@ -4,7 +4,7 @@ #include #include -class DataTool: public Msp::Application +class DataTool: public Msp::RegisteredApplication { private: std::string in_fn; @@ -15,8 +15,6 @@ private: public: DataTool(int argc, char **argv); int main(); - - static Application::RegApp reg; }; #endif