]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetref.h
move inset related stuff from src/graphics to src/inset/
[lyx.git] / src / insets / insetref.h
index eec668ea791453c0903249e43573ff171aedd9cf..45c09a22701a6a3e4e0253dea1f2b1aa363e2070 100644 (file)
@@ -3,9 +3,9 @@
  * ======================================================
  *
  *           LyX, The Document Processor
- *      
+ *
  *         Copyright 1997 LyX Team (this file was created this year)
- * 
+ *
  * ====================================================== */
 
 #ifndef INSET_REF_H
@@ -19,7 +19,7 @@
 
 struct LaTeXFeatures;
 
-/** The reference inset  
+/** The reference inset
  */
 class InsetRef : public InsetCommand {
 public:
@@ -44,26 +44,26 @@ public:
                return new InsetRef(params(), buffer, same_id);
        }
        ///
-       string const getScreenLabel() const;
+       string const getScreenLabel(Buffer const *) const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
        Inset::Code lyxCode() const { return Inset::REF_CODE; }
        ///
-       void edit(BufferView *, int, int, unsigned int);
+       void edit(BufferView *, int, int, mouse_button::state);
        ///
        void edit(BufferView * bv, bool front = true);
        ///
        bool display() const { return false; }
        ///
        int latex(Buffer const *, std::ostream &,
-                 bool fragile, bool free_spc) const;
+                 bool fragile, bool free_spc) const;
        ///
        int ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
        int linuxdoc(Buffer const *, std::ostream &) const;
        ///
-       int docBook(Buffer const *, std::ostream &) const;
+       int docbook(Buffer const *, std::ostream &) const;
        ///
        void validate(LaTeXFeatures & features) const;
 private: