]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalTemplate.h
File format change caused by 34eadf5d4.
[lyx.git] / src / insets / ExternalTemplate.h
index 23f1f78802ffb9d98d7977ac36a10fce38e41ad1..18d9835f28fd4e0dbfc30237272e29fc935a4599 100644 (file)
@@ -17,6 +17,8 @@
 
 #include <boost/noncopyable.hpp>
 
+#include <vector>
+
 namespace lyx {
 
 namespace support { class FileName; }
@@ -105,7 +107,7 @@ public:
 /**
  *  A singleton class that manages the external inset templates
  */
-class TemplateManager : boost::noncopyable {
+class TemplateManager {
 public:
        /// Map from the LyX name of the template to the template structure
        typedef std::map<std::string, Template> Templates;
@@ -127,6 +129,10 @@ public:
        std::string const getPreambleDefByName(std::string const & name) const;
 private:
        TemplateManager();
+       /// noncopyable
+       TemplateManager(TemplateManager const &);
+       void operator=(TemplateManager const &);
+
        void readTemplates(support::FileName const & path);
        void dumpTemplates(std::ostream &) const;
        void dumpPreambleDefs(std::ostream &) const;