]> git.lyx.org Git - lyx.git/blobdiff - src/bufferlist.h
Angus insetindex patch + protect patch from Dekel
[lyx.git] / src / bufferlist.h
index 4c293af4d603a809dd316026f67f86dd5cade8a3..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,9 +95,6 @@ public:
        ///
        bool empty() const;
 
-       /// Saves buffer. Returns false if unsuccesful.
-       bool write(Buffer *, bool makeBackup);
-
        ///
         bool QwriteAll();
 
@@ -113,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 *);
@@ -140,7 +134,7 @@ public:
 
        /// returns true if the buffer is loaded
        bool isLoaded(Buffer const * b) const;
-
+       
        /// returns a pointer to the buffer with the given name.
        Buffer * getBuffer(string const &);
        /// returns a pointer to the buffer with the given number.