diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-07-05 06:21:39 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-07-05 21:02:40 +0300 |
commit | 605e1e2d93996f57b3e48f698d840f517d84a99d (patch) | |
tree | 018975b5a5da85885a44dd2abff341e045d9d38d /templatelayout.h | |
parent | c35092f5c9ce30f2b8df4c554302a3e7c8716a07 (diff) | |
download | subsurface-605e1e2d93996f57b3e48f698d840f517d84a99d.tar.gz |
Printing: add functions that read/write a template
Read/write templates from files.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'templatelayout.h')
-rw-r--r-- | templatelayout.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templatelayout.h b/templatelayout.h index 854a16259..3826c6c00 100644 --- a/templatelayout.h +++ b/templatelayout.h @@ -14,6 +14,8 @@ public: TemplateLayout(print_options *PrintOptions, template_options *templateOptions); ~TemplateLayout(); QString generate(); + static QString readTemplate(QString template_name); + static void writeTemplate(QString template_name, QString grantlee_template); private: Grantlee::Engine *m_engine; |