X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fapplication.h;h=08393b724b486077452e9ffb940bd9822fc6578c;hb=79482ba7aea1b79c7a310c940cc0292532ef3bcb;hp=c7a1af137a93cacdc921e28c58419cf70947bb16;hpb=967785734be5c3fc6f75da122c2d93ebbb338271;p=libs%2Fcore.git diff --git a/source/core/application.h b/source/core/application.h index c7a1af1..08393b7 100644 --- a/source/core/application.h +++ b/source/core/application.h @@ -4,8 +4,7 @@ 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 { @@ -49,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 {