+ /** return the template by LyX name.
+ * If it isn't found, return 0.
+ */
+ Template const * getTemplateByName(std::string const & name) const;
+ /** return the preamble definition by LyX name.
+ * If it isn't found, return an empty std::string.
+ */
+ docstring getPreambleDefByName(std::string const & name) const;
+ /// noncopyable
+ TemplateManager(TemplateManager const &) = delete;
+ void operator=(TemplateManager const &) = delete;