1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-05-06 22:32:42 +00:00
harbour-sailfin/core/codegen/loader_header.hbs
2021-03-24 20:04:03 +01:00

18 lines
496 B
Handlebars

{{#if endpoint.hasSuccessResponse}}
{{#if endpoint.description.length > 0}}
/**
* @brief {{endpoint.description}}
*/
{{/if}}
class {{className}} : public {{supportNamespace}}::HttpLoader<{{dtoNamespace}}::{{endpoint.resultType}}, {{endpoint.parameterType}}> {
public:
explicit {{className}}(ApiClient *apiClient);
protected:
QString url(const {{endpoint.parameterType}}& parameters) const override;
QUrlQuery query(const {{endpoint.parameterType}}& parameters) const override;
};
{{/if}}