]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetexternal.h
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / insetexternal.h
index 1ae2dcf2deda099a37a0edb31c3f2004174e3d78..2e33880a20132fb3bb492464c2f6da0b2c9c1128 100644 (file)
@@ -41,9 +41,9 @@ public:
        TempName(TempName const &);
        ~TempName();
        TempName & operator=(TempName const &);
-       std::string const & operator()() const { return tempname_; }
+       support::FileName const & operator()() const { return tempname_; }
 private:
-       std::string tempname_;
+       support::FileName tempname_;
 };
 
 /// How is the image to be displayed on the LyX screen?
@@ -72,14 +72,14 @@ public:
        bool read(Buffer const &, LyXLex &);
 
        /// The name of the tempfile used for manipulations.
-       std::string const & tempname() const { return tempname_(); }
+       support::FileName const & tempname() const { return tempname_(); }
 
        /// The template currently in use.
        void settemplate(std::string const &);
        std::string const & templatename() const { return templatename_; }
 
        /// The external file.
-       support::FileName filename;
+       support::DocFileName filename;
        /// How the inset is to be displayed by LyX.
        external::DisplayType display;
        /// The scale of the displayed graphic (if shown).
@@ -116,7 +116,7 @@ public:
        virtual EDITABLE editable() const { return IS_EDITABLE; }
 
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
+       bool metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///