]> 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 3d840a48314ced00d0cc0e87c834299a40d7af47..acf8bfd404ae3b2474a27953e7c6cecfebcbb06c 100644 (file)
@@ -19,7 +19,6 @@
 
 #include "support/strfwd.h"
 #include "support/types.h"
-#include "support/SignalSlot.h"
 
 #include <list>
 #include <set>
@@ -529,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;
@@ -564,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);
        ///
@@ -587,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_;
 };