X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FExternalTemplate.h;h=e5b6755059700b009b756ea12edea6b70cc19a47;hb=9762ba5d388e8a81a6e58c464b635ca4cf48cbfa;hp=18d9835f28fd4e0dbfc30237272e29fc935a4599;hpb=9c55af4a223ce4db29d643251109e245665344bd;p=lyx.git diff --git a/src/insets/ExternalTemplate.h b/src/insets/ExternalTemplate.h index 18d9835f28..e5b6755059 100644 --- a/src/insets/ExternalTemplate.h +++ b/src/insets/ExternalTemplate.h @@ -15,8 +15,6 @@ #include "ExternalTransforms.h" -#include - #include namespace lyx { @@ -55,7 +53,7 @@ public: /// What will the button in the GUI say? std::string guiName; /// A short help text - std::string helpText; + docstring helpText; /** The format of the input file. Can be "*", in which case we try and * ascertain the format from the contents of the file. */ @@ -114,7 +112,7 @@ public: /** Map from the LyX name of the preamble definition to the preamble * definition itself. */ - typedef std::map PreambleDefs; + typedef std::map PreambleDefs; static TemplateManager & get(); @@ -126,12 +124,12 @@ public: /** return the preamble definition by LyX name. * If it isn't found, return an empty std::string. */ - std::string const getPreambleDefByName(std::string const & name) const; + docstring getPreambleDefByName(std::string const & name) const; + /// noncopyable + TemplateManager(TemplateManager const &) = delete; + void operator=(TemplateManager const &) = delete; private: TemplateManager(); - /// noncopyable - TemplateManager(TemplateManager const &); - void operator=(TemplateManager const &); void readTemplates(support::FileName const & path); void dumpTemplates(std::ostream &) const;