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?
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).
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;
///