]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.h
Change tracking cue: for instant preview
[lyx.git] / src / insets / InsetGraphics.h
index a6e6ce33815ac60734a28b20f4405d1f316f0353..5270f2bfa9f9497109e510de965719fafaa9cda7 100644 (file)
@@ -53,7 +53,7 @@ public:
 
        InsetGraphicsParams getParams() const { return params_;}
        ///
-       bool clickable(int, int) const { return true; }
+       bool clickable(BufferView const &, int, int) const { return true; }
 
 private:
        ///
@@ -86,6 +86,8 @@ private:
        void validate(LaTeXFeatures & features) const;
        /// returns LyX code associated with the inset. Used for TOC, ...)
        InsetCode lyxCode() const { return GRAPHICS_CODE; }
+       ///
+       docstring layoutName() const { return from_ascii("Graphics"); }
        /// Get the inset parameters, used by the GUIndependent dialog.
        InsetGraphicsParams const & params() const;
        ///
@@ -97,7 +99,8 @@ private:
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///
-       void addToToc(DocIterator const & di, bool output_active) const;
+       void addToToc(DocIterator const & di, bool output_active,
+                                 UpdateType utype) const;
        ///
        std::string contextMenuName() const;
        /// Force inset into LTR environment if surroundings are RTL