]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalTemplate.h
Change tracking cue: for instant preview
[lyx.git] / src / insets / ExternalTemplate.h
index 23f1f78802ffb9d98d7977ac36a10fce38e41ad1..d6be5734ab6dc6a18456f213da2d7f3b9c380369 100644 (file)
@@ -15,7 +15,7 @@
 
 #include "ExternalTransforms.h"
 
-#include <boost/noncopyable.hpp>
+#include <vector>
 
 namespace lyx {
 
@@ -105,7 +105,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;
@@ -125,8 +125,12 @@ public:
         *  If it isn't found, return an empty std::string.
         */
        std::string const getPreambleDefByName(std::string const & name) const;
+       /// noncopyable
+       TemplateManager(TemplateManager const &) = delete;
+       void operator=(TemplateManager const &) = delete;
 private:
        TemplateManager();
+
        void readTemplates(support::FileName const & path);
        void dumpTemplates(std::ostream &) const;
        void dumpPreambleDefs(std::ostream &) const;