]> git.lyx.org Git - lyx.git/blobdiff - src/bufferlist.h
Angus insetindex patch + protect patch from Dekel
[lyx.git] / src / bufferlist.h
index 654b6eba49d7dc2334db798772303a1b3ef2327b..f5155b370eb3a5262f56c6de0765a5979f4de5fd 100644 (file)
@@ -32,7 +32,7 @@
 class BufferStorage {
 public:
        ///
-       typedef vector<Buffer *> Container;
+       typedef std::vector<Buffer *> Container;
        ///
        typedef Container::iterator iterator;
        ///
@@ -42,7 +42,7 @@ public:
        ///
        void release(Buffer * buf);
        ///
-       Buffer * newBuffer(string const & s, LyXRC *, bool = false);
+       Buffer * newBuffer(string const & s, bool = false);
        ///
        Container::iterator begin() { return container.begin(); }
        ///
@@ -95,11 +95,6 @@ public:
        ///
        bool empty() const;
 
-       /// Saves buffer. Returns false if unsuccesful.
-#if 0
-       bool write(Buffer *, bool makeBackup);
-#endif
-
        ///
         bool QwriteAll();
 
@@ -115,10 +110,7 @@ public:
        /// Make a new file (buffer) using a template
        Buffer * newFile(string const &, string);
        /// returns a vector with all the buffers filenames
-       vector<string> getFileNames() const;
-       
-       ///
-       void updateInset(Inset *, bool = true);
+       std::vector<string> getFileNames() const;
 
        ///
        int unlockInset(UpdatableInset *);