All Downloads are FREE. Search and download functionalities are using the official Maven repository.

qt5cpp.api-header.mustache Maven / Gradle / Ivy

There is a newer version: 3.0.0-rc1
Show newest version
#ifndef _SWG_{{classname}}_H_
#define _SWG_{{classname}}_H_

#include "{{prefix}}HttpRequest.h"

{{#imports}}{{{import}}}
{{/imports}}

#include 

namespace Swagger {

class {{classname}}: public QObject {
    Q_OBJECT

public:
    {{classname}}();
    {{classname}}(QString host, QString basePath);
    ~{{classname}}();

    QString host;
    QString basePath;

    {{#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}}
};
}
#endif




© 2015 - 2025 Weber Informatics LLC | Privacy Policy