cpp-qt-qhttpengine-server.apihandler.h.mustache Maven / Gradle / Ivy
{{>licenseInfo}}
#ifndef {{prefix}}_{{classname}}Handler_H
#define {{prefix}}_{{classname}}Handler_H
#include
{{#imports}}{{{import}}}
{{/imports}}
{{#cppNamespaceDeclarations}}
namespace {{this}} {
{{/cppNamespaceDeclarations}}
class {{classname}}Handler : public QObject
{
Q_OBJECT
public:
{{classname}}Handler();
virtual ~{{classname}}Handler();
public Q_SLOTS:
{{#operations}}{{#operation}}virtual void {{nickname}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
{{/operation}}{{/operations}}
};
{{#cppNamespaceDeclarations}}
}
{{/cppNamespaceDeclarations}}
#endif // {{prefix}}_{{classname}}Handler_H