]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
Fix bug #3038: wish for lfuns for zoom-in and zoom-out
[lyx.git] / src / Buffer.h
index 5d7b0d94e2430ef33d6520466cc4d26c70529164..e50076f221f70a38173f8cb9903b0ae876455a4a 100644 (file)
@@ -130,9 +130,6 @@ public:
        /// Maybe we know the function already by number...
        bool dispatch(FuncRequest const & func, bool * result = 0);
 
-       /// Load the autosaved file.
-       void loadAutoSaveFile();
-
        /// read a new document from a string
        bool readString(std::string const &);
        /// load a new file
@@ -459,6 +456,8 @@ public:
 
        ///
        void autoSave() const;
+       ///
+       void removeAutosaveFile() const;
 
        /// return the format of the buffer on a string
        std::string bufferFormat() const;
@@ -523,6 +522,8 @@ private:
        */
        ReadStatus readFile(Lexer &, support::FileName const & filename,
                            bool fromString = false);
+       ///
+       support::FileName getAutosaveFilename() const;
 
        /// Use the Pimpl idiom to hide the internals.
        class Impl;