]> git.lyx.org Git - lyx.git/blobdiff - src/BufferList.h
Move Dialog.{h,cpp} and ButtonPolicy.{h,cpp} to frontends/qt4/
[lyx.git] / src / BufferList.h
index 2e62754ee7a7ab0c8f13e7e24ee9b1ddd87ef71d..179cc358bc2af2d1400b10704d870697ddccfa87 100644 (file)
@@ -14,8 +14,6 @@
 
 #include "support/docstring.h"
 
-#include <boost/noncopyable.hpp>
-
 #include <vector>
 
 
@@ -28,7 +26,7 @@ class OutputParams;
  * The class holds all all open buffers, and handles construction
  * and deletions of new ones.
  */
-class BufferList : boost::noncopyable {
+class BufferList {
 public:
        typedef std::vector<Buffer *>::iterator iterator;
        typedef std::vector<Buffer *>::const_iterator const_iterator;
@@ -106,6 +104,10 @@ public:
        void setCurrentAuthor(docstring const & name, docstring const & email);
 
 private:
+       /// noncopiable
+       BufferList(BufferList const &);
+       void operator=(BufferList const &);
+
        /// ask to save a buffer on quit, returns false if should cancel
        bool quitWriteBuffer(Buffer * buf);