{{>licenseInfo}} #ifndef _SWG_{{classname}}_H_ #define _SWG_{{classname}}_H_ #include "{{prefix}}HttpRequest.h" {{#imports}}{{{import}}} {{/imports}} #include {{#cppNamespaceDeclarations}} namespace {{this}} { {{/cppNamespaceDeclarations}} class {{classname}}: public QObject { Q_OBJECT public: {{classname}}(); {{classname}}(QString host, QString basePath); ~{{classname}}(); QString host; QString basePath; QMap defaultHeaders; {{#operations}}{{#operation}}void {{nickname}}({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); {{/operation}}{{/operations}} private: {{#operations}}{{#operation}}void {{nickname}}Callback (HttpRequestWorker * worker); {{/operation}}{{/operations}} signals: {{#operations}}{{#operation}}void {{nickname}}Signal({{#returnType}}{{{returnType}}} summary{{/returnType}}); {{/operation}}{{/operations}} {{#operations}}{{#operation}}void {{nickname}}SignalE({{#returnType}}{{{returnType}}} summary, {{/returnType}}QNetworkReply::NetworkError error_type, QString& error_str); {{/operation}}{{/operations}} }; {{#cppNamespaceDeclarations}} } {{/cppNamespaceDeclarations}} #endif