]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInclude.h
requires is a keyword in C++2a
[lyx.git] / src / insets / InsetInclude.h
index 6636583e6cd4d446daa1a9d05873c38944029a27..66487bc934c45a805dab92965da823aef0c36be2 100644 (file)
@@ -48,8 +48,9 @@ public:
 
        ///
        void setChildBuffer(Buffer * buffer);
-       /// \return the child buffer if the file is a LyX doc and could be loaded
-       Buffer * getChildBuffer() const;
+
+       /// \return loaded Buffer or zero if the file loading did not proceed.
+       Buffer * loadIfNeeded() const;
 
        /** Update the cache with all bibfiles in use of the child buffer
         *  (including bibfiles of grandchild documents).
@@ -131,8 +132,6 @@ private:
         *  and the preview should be regenerated.
         */
        void fileChanged() const;
-       /// \return loaded Buffer or zero if the file loading did not proceed.
-       Buffer * loadIfNeeded() const;
        /// launch external application
        void editIncluded(std::string const & file);
        ///