aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/{{base}}.cpp.mustache
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-06 13:53:34 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-06 14:17:00 +0900
commit1dc3784d5a3ef05433bc42318b896ff2a4e149cf (patch)
tree399b8784d93689ff0f0986d85b9f5386c38ce268 /lib/csapi/{{base}}.cpp.mustache
parentff3c70978d3d33b65f3e5878c2876fb74c152232 (diff)
downloadlibquotient-1dc3784d5a3ef05433bc42318b896ff2a4e149cf.tar.gz
libquotient-1dc3784d5a3ef05433bc42318b896ff2a4e149cf.zip
lib/csapi/*.mustache: Optimise #includes, eliminate some blank lines
Diffstat (limited to 'lib/csapi/{{base}}.cpp.mustache')
-rw-r--r--lib/csapi/{{base}}.cpp.mustache4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/{{base}}.cpp.mustache b/lib/csapi/{{base}}.cpp.mustache
index d3726f1e..72ea56c9 100644
--- a/lib/csapi/{{base}}.cpp.mustache
+++ b/lib/csapi/{{base}}.cpp.mustache
@@ -1,8 +1,8 @@
{{#@filePartial}}preamble{{/@filePartial}}
#include "{{filenameBase}}.h"
-{{^allModels}}
+{{^models}}
#include "converters.h"
-{{/allModels}}{{#operations}}
+{{/models}}{{#operations}}
{{#producesNonJson?}}#include <QtNetwork/QNetworkReply>
{{/producesNonJson?}}#include <QtCore/QStringBuilder>
{{/operations}}