X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fapplication.h;fp=source%2Fcore%2Fapplication.h;h=08393b724b486077452e9ffb940bd9822fc6578c;hp=c7a1af137a93cacdc921e28c58419cf70947bb16;hb=1f0843257065789231a9949e0a81b79afd7bbebe;hpb=62a984b46e08740d19cb055f01be3365982f6b9d 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 {