]> git.lyx.org Git - features.git/commitdiff
Buffer::getAutosaveFileName() can now be private as it should.
authorVincent van Ravesteijn <vfr@lyx.org>
Wed, 17 Nov 2010 02:25:12 +0000 (02:25 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Wed, 17 Nov 2010 02:25:12 +0000 (02:25 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36327 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.h

index 68f8b883171bc36a9051fe365d013cfffee81271..96c723283d858a12ba445d0b9c42983e69a7a035 100644 (file)
@@ -241,14 +241,12 @@ public:
        /// \return a status message towards the user.
        docstring emergencyWrite();
 
-//FIXME:The following three functions should be private
+//FIXME:The following two functions should be private
 //private:
        ///
        void removeAutosaveFile() const;
        ///
        void moveAutosaveFile(support::FileName const & old) const;
-       /// Get the filename of the autosave file associated with the Buffer
-       support::FileName getAutosaveFileName() const;
        
 private:
        /// Try to load an autosave file associated to \c fn.
@@ -257,6 +255,8 @@ private:
        ReadStatus loadEmergency();
        /// Get the filename of the emergency file associated with the Buffer
        support::FileName getEmergencyFileName() const;
+       /// Get the filename of the autosave file associated with the Buffer
+       support::FileName getAutosaveFileName() const;
        //@}
 
 public: