23 #ifndef TUFAO_CLASSHANDLER_H
24 #define TUFAO_CLASSHANDLER_H
26 #include <QtCore/QtPlugin>
28 #define TUFAO_CLASSHANDLER_IID "Tufao::ClassHandler/1.0"
175 virtual void deinit() = 0;
177 virtual void init() = 0;
182 static const QString HttpResponseStatusKey;
183 static const QString JsonResponseKey;
190 #endif // TUFAO_CLASSHANDLER_H
Definition: classhandler.h:34
QString description
The HTML description of the plugin.
Definition: classhandler.h:45
QString displayedName
The displayed name, e.g. "ServerSettings".
Definition: classhandler.h:39
The ClassHandler class Define the interface to implement when creating a plugin.
Definition: classhandler.h:168
virtual void deinit()=0
Clean up resource; called automatically before plugin is unloaded.
This is the namespace where all Tufão facilities are grouped.
Definition: abstracthttpserverrequesthandler.h:30
QString id
The plugin ID. It MUST match the lib file name (case sensitive).
Definition: classhandler.h:37
virtual void init()=0
Initialize an instance for use; alled automatically when plugin is registered.
virtual ClassHandlerPluginInfo getPluginInfo() const =0
Get information about the plugin.
QString contact
The contact email or URL.
Definition: classhandler.h:43
QString authors
The comma separated list of authors, e.g. "Timothy Reaves".
Definition: classhandler.h:41