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

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

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

#include 
#include "{{prefix}}ApiClient.h"
#include "{{prefix}}Error.h"

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

using namespace Tizen::Net::Http;

namespace Swagger {

{{#operations}}
class {{classname}} {
public:
  {{classname}}();
  virtual ~{{classname}}();

  {{#operation}}
  {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}
  {{nickname}}WithCompletion({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#hasParams}},{{/hasParams}} {{#returnType}}void (* handler)({{returnType}}, {{prefix}}Error*){{/returnType}}{{^returnType}}void(* handler)({{prefix}}Error*){{/returnType}});
  {{/operation}}
  static String getBasePath() {
    return L"{{{basePath}}}";
  }

private:
  {{prefix}}ApiClient* client;
};


{{/operations}}
} /* namespace Swagger */

#endif /* {{classname}}_H_ */




© 2015 - 2024 Weber Informatics LLC | Privacy Policy