]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetref.h
fix compilation pb ; update eu.po
[lyx.git] / src / insets / insetref.h
index 621dcf1252013bc708326a9806c979537d2b2d38..102371acdb8e36c316e46f49219b822d9b0839d0 100644 (file)
@@ -23,10 +23,26 @@ struct LaTeXFeatures;
  */
 class InsetRef : public InsetCommand {
 public:
+       struct type_info {
+               ///
+               string latex_name;
+               ///
+               string gui_name;
+               ///
+               string short_gui_name;
+       };
+       static type_info types[];
        ///
-       InsetRef(InsetCommandParams const &);
+       static int getType(string const & name);
        ///
-       Inset * Clone() const { return new InsetRef(params()); }
+       static string const & getName(int type);
+
+       ///
+       InsetRef(InsetCommandParams const &, Buffer const &);
+       ///
+       Inset * Clone(Buffer const & buffer) const {
+               return new InsetRef(params(), buffer);
+       }
        ///
        string const getScreenLabel() const;
        ///
@@ -51,5 +67,7 @@ public:
 private:
        /// This function escapes 8-bit characters
        string const escape(string const &) const;
+       ///
+       bool isLatex;
 };
 #endif