]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
Make the fake sequence for braces highly unlikely (addressing #6478).
[lyx.git] / src / Buffer.h
index deca3a49dbd570e744f74448292356f2998dcf03..acf8bfd404ae3b2474a27953e7c6cecfebcbb06c 100644 (file)
@@ -19,7 +19,6 @@
 
 #include "support/strfwd.h"
 #include "support/types.h"
-#include "support/SignalSlot.h"
 
 #include <list>
 #include <set>
@@ -250,8 +249,6 @@ public:
        /// return true if the main lyx file does not need saving
        bool isClean() const;
        ///
-       bool isBakClean() const;
-       ///
        bool isDepClean(std::string const & name) const;
 
        /// whether or not disk file has been externally modified
@@ -263,9 +260,6 @@ public:
        /// mark the main lyx file as not needing saving
        void markClean() const;
 
-       ///
-       void markBakClean() const;
-
        ///
        void markDepClean(std::string const & name);
 
@@ -492,8 +486,6 @@ public:
        void errors(std::string const & err, bool from_master = false) const;
        /// This function is called when the buffer busy status change.
        void setBusy(bool on) const;
-       /// This function is called when the buffer readonly status change.
-       void setReadOnly(bool on) const;
        /// Update window titles of all users.
        void updateTitles() const;
        /// Reset autosave timers for all users.
@@ -536,7 +528,7 @@ public:
        bool isExportableFormat(std::string const & format) const;
 
        ///
-       typedef std::vector<std::pair<InsetRef *, ParIterator> > References;
+       typedef std::vector<std::pair<Inset *, ParIterator> > References;
        References & references(docstring const & label);
        References const & references(docstring const & label) const;
        void clearReferenceCache() const;
@@ -571,19 +563,6 @@ public:
                WordLangTuple & word_lang, docstring_list & suggestions) const;
 
 private:
-       /// search for macro in local (buffer) table or in children
-       MacroData const * getBufferMacro(docstring const & name,
-                                        DocIterator const & pos) const;
-       /** Update macro table starting with position of it
-           \param it in some text inset
-       */
-       void updateMacros(DocIterator & it,
-                                    DocIterator & scope) const;
-       ///
-       void setLabel(ParIterator & it, UpdateType utype) const;
-       ///
-       void collectRelatives(BufferSet & bufs) const;
-
        ///
        bool readFileHelper(support::FileName const & s);
        ///
@@ -594,28 +573,10 @@ private:
        ReadStatus readFile(Lexer &, support::FileName const & filename,
                            bool fromString = false);
 
-       /** If we have branches that use the file suffix
-           feature, return the file name with suffix appended.
-       */
-       support::FileName exportFileName() const;
-
        /// Use the Pimpl idiom to hide the internals.
        class Impl;
        /// The pointer never changes although *pimpl_'s contents may.
        Impl * const d;
-       ///
-       frontend::GuiBufferDelegate * gui_;
-
-       /// This function is called when the buffer structure is changed.
-       Signal structureChanged_;
-       /// This function is called when some parsing error shows up.
-       //Signal errors(std::string const &) = 0;
-       /// This function is called when some message shows up.
-       //Signal message(docstring const &) = 0;
-       /// This function is called when the buffer busy status change.
-       //Signal setBusy(bool) = 0;
-       /// Reset autosave timers for all users.
-       Signal resetAutosaveTimers_;
 };