]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetinclude.h
more cleanup:
[lyx.git] / src / insets / insetinclude.h
index 65eee42452baae91e2d3b3054bf827292fa324e3..0b2cf430461f3ac1d28b2a5020cc3cc77a5ef227 100644 (file)
@@ -17,6 +17,8 @@
 #include "render_button.h"
 #include "mailinset.h"
 
+#include "support/filename.h"
+
 #include <boost/scoped_ptr.hpp>
 
 namespace lyx {
@@ -35,7 +37,7 @@ public:
        ~InsetInclude();
 
        /// Override these InsetButton methods if Previewing
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -70,7 +72,7 @@ public:
         *  Return an empty vector if the child doc is not loaded.
         *  \param buffer the Buffer containing this inset.
         */
-       std::vector<std::string> const &
+       std::vector<support::FileName> const &
        getBibfilesCache(Buffer const & buffer) const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }