X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetinclude.h;h=e713fb8f02d0fa6cd8fb57d29c01e089740fe2e5;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=b0e1e84f5c11d22ffcebcb6e2ac23086e85c54f4;hpb=0490083ef1d69e6347782ec15503532f6d6dc33b;p=lyx.git diff --git a/src/insets/insetinclude.h b/src/insets/insetinclude.h index b0e1e84f5c..e713fb8f02 100644 --- a/src/insets/insetinclude.h +++ b/src/insets/insetinclude.h @@ -4,7 +4,7 @@ * * LyX, The Document Processor * - * Copyright (C) 1997 LyX Team (this file was created this year) + * Copyright 1997 LyX Team (this file was created this year) * * ====================================================== */ @@ -47,34 +47,27 @@ public: /// This returns the list of bibkeys on the child buffer string getKeys(char delim) const; /// - void Edit(int, int); + void Edit(BufferView *, int x, int y, unsigned int button); /// - unsigned char Editable() const + EDITABLE Editable() const { - return 1; + return IS_EDITABLE; } /// With lyx3 we won't overload these 3 methods - void Write(ostream &); + void Write(std::ostream &) const; /// void Read(LyXLex &); /// - int Latex(ostream &, signed char fragile); - /// - int Latex(string & file, signed char fragile); - + int Latex(std::ostream &, bool fragile, bool free_spc) const; /// void Validate(LaTeXFeatures &) const; /// Input inserts anything inside a paragraph, Display can give some visual feedback - bool display() const { return !(isInput()); } + bool display() const; /// string getScreenLabel() const; /// - void setContents(string const & c) { - InsetCommand::setContents(c); - filename = MakeAbsPath(contents, - OnlyPath(getMasterFilename())); - } + void setContents(string const & c); /// void setFilename(string const & n) { setContents(n); } ///