X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fapplication.h;h=08393b724b486077452e9ffb940bd9822fc6578c;hb=79482ba7aea1b79c7a310c940cc0292532ef3bcb;hp=4ae8c5614250819ec6aa28ed83c7cc6461f7ee69;hpb=c2eeec205dbf17f6ca38fda2671c6aaf2d1c505f;p=libs%2Fcore.git diff --git a/source/core/application.h b/source/core/application.h index 4ae8c56..08393b7 100644 --- a/source/core/application.h +++ b/source/core/application.h @@ -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. +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 class RegisteredApplication: public Application {