]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/application.h
Check that the option actually has a short name
[libs/core.git] / source / core / application.h
index 4ae8c5614250819ec6aa28ed83c7cc6461f7ee69..08393b724b486077452e9ffb940bd9822fc6578c 100644 (file)
@@ -1,18 +1,10 @@
-/* $Id$
-
-This file is part of libmspcore
-Copyright © 2006-2008, 2011  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_CORE_APPLICATION_H_
 #define MSP_CORE_APPLICATION_H_
 
 namespace Msp {
 
 /**
-Base class for applications.  Inherit the main class from this and add a static
-member of type RegApp<MainClass>.
+Base class for applications.  See also RegisteredApplication.
 */
 class Application
 {
@@ -56,6 +48,10 @@ private:
 };
 
 
+/**
+Registers the class to be used for program startup.  The main application class
+should be derived from this.
+*/
 template<typename T>
 class RegisteredApplication: public Application
 {