]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.h
Fix GRAPHICS_EDIT of InsetGraphics
[lyx.git] / src / insets / InsetRef.h
index eab494474b1950f26ca8fa9e41ae08e23a1d7818..1af31fa3f808d904b3fe7e8d55349bc436cbcf0f 100644 (file)
@@ -36,8 +36,10 @@ public:
        static std::string const & getName(int type);
 
 
-       InsetRef(InsetCommandParams const &, Buffer const &);
+       InsetRef(Buffer const & buffer, InsetCommandParams const &);
 
+       ///
+       bool isLabeled() const { return true; }
        ///
        docstring screenLabel() const;
        ///
@@ -69,13 +71,13 @@ public:
 protected:
        ///
        InsetRef(InsetRef const &);
-       ///
-       void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
        ///
        Inset * clone() const { return new InsetRef(*this); }
        ///
        bool isLatex;
+       ///
+       mutable docstring screen_label_;
 };
 
 } // namespace lyx