]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlatexaccent.h
Enable convertDefault.sh to run even if its executable bit is not set.
[lyx.git] / src / insets / insetlatexaccent.h
index c0b3dee27206daf6658dc19a524afa0c5d0f168f..c209f379158745d887e0dc0cd086d66b6621889b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * \author Lars Gullik Bjønnes
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef INSET_LATEX_ACCENT_H
@@ -24,7 +24,7 @@
   it also can handle other special characters (e.g. Hstroke)
   Initiated by Ivan Schreter, later modified by Lgb.
   */
-class InsetLatexAccent : public Inset {
+class InsetLatexAccent : public InsetOld {
 public:
        ///
        InsetLatexAccent();
@@ -42,24 +42,24 @@ public:
        ///
        bool displayISO8859_9(PainterInfo & pi, int x, int y) const;
        ///
-       void write(Buffer const *, std::ostream &) const;
+       void write(Buffer const &, std::ostream &) const;
        ///
-       void read(Buffer const *, LyXLex & lex);
+       void read(Buffer const &, LyXLex & lex);
        ///
-       int latex(Buffer const *, std::ostream &,
+       int latex(Buffer const &, std::ostream &,
                  LatexRunParams const &) const;
        ///
-       int ascii(Buffer const *, std::ostream &, int linelen) const;
+       int ascii(Buffer const &, std::ostream &, int linelen) const;
        ///
-       int linuxdoc(Buffer const *, std::ostream &) const;
+       int linuxdoc(Buffer const &, std::ostream &) const;
        ///
-       int docbook(Buffer const *, std::ostream &, bool mixcont) const;
+       int docbook(Buffer const &, std::ostream &, bool mixcont) const;
        ///
        bool directWrite() const;
        ///
-       virtual Inset * clone(Buffer const &) const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       Inset::Code lyxCode()const;
+       InsetOld::Code lyxCode()const;
        ///
        inline bool canDisplay();
        // should this inset be handled like a normal charater
@@ -129,8 +129,6 @@ private:
        bool  plusdesc;
        /// international char
        mutable char  ic;
-       ///
-       mutable Dimension dim_;
 };