X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetparent.h;h=293ca4df381dde907bdd0de3756afb18e1a0ffc7;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=ab40f302a80a10e34477613c53bcdd6f49b1cb86;hpb=132fe5e1322fbc86a32692df51eba78d6b4e479c;p=lyx.git diff --git a/src/insets/insetparent.h b/src/insets/insetparent.h index ab40f302a8..293ca4df38 100644 --- a/src/insets/insetparent.h +++ b/src/insets/insetparent.h @@ -4,7 +4,7 @@ * * LyX, The Document Processor * - * Copyright 1997-1999 LyX Team + * Copyright 1997-2000 LyX Team * * ====================================================== */ @@ -30,19 +30,14 @@ public: /// Non-standard LyX macro InsetParent() : InsetCommand("lyxparent") {} /// + explicit InsetParent(string const & fn, Buffer * owner = 0); /// - int Latex(ostream &, signed char fragile, bool free_spc) const; -#ifndef USE_OSTREAM_ONLY - /// - int Latex(string & file, signed char fragile, bool free_spc) const; -#endif + int Latex(std::ostream &, bool fragile, bool free_spc) const; /// Inset * Clone() const { return new InsetParent(getContents()); } /// - string getScreenLabel() const { - return string(_("Parent:")) + getContents(); - } + string getScreenLabel() const; /// void Edit(BufferView *, int, int, unsigned int); ///