]> git.tdb.fi Git - libs/datafile.git/blobdiff - tool/tool.h
Update the tool to use the new RegisteredApplication class
[libs/datafile.git] / tool / tool.h
index ab399ad85a43ff58662b93b1cf7bd42b838988e5..a43fbfbf02d30958fb54f3ea3a853803e4a84922 100644 (file)
@@ -1,17 +1,10 @@
-/* $Id$
-
-This file is part of libmspdatafile
-Copyright © 2008  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef TOOL_H_
 #define TOOL_H_
 
 #include <string>
 #include <msp/core/application.h>
 
-class DataTool: public Msp::Application
+class DataTool: public Msp::RegisteredApplication<DataTool>
 {
 private:
        std::string in_fn;
@@ -22,8 +15,6 @@ private:
 public:
        DataTool(int argc, char **argv);
        int main();
-
-       static Application::RegApp<DataTool> reg;
 };
 
 #endif