]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetinclude.h
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / insetinclude.h
index 5064e03c0233ec520d340aeae8358bf947149a55..b0aae9d27f52fea1a0665a2f289445abebc3b288 100644 (file)
@@ -39,7 +39,7 @@ public:
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       virtual bool display() const { return true; }
+       virtual bool display() const;
 
        /// get the parameters
        InsetCommandParams const & params(void) const;
@@ -66,25 +66,25 @@ public:
        ///
        void read(Buffer const &, LyXLex &);
        ///
-       int latex(Buffer const &, std::ostream &, LatexRunParams const &) const;
+       int latex(Buffer const &, std::ostream &,
+                 OutputParams const &) const;
        ///
-       int ascii(Buffer const &, std::ostream &, int linelen) const;
+       int plaintext(Buffer const &, std::ostream &,
+                 OutputParams const &) const;
        ///
-       int linuxdoc(Buffer const &, std::ostream &) const;
+       int linuxdoc(Buffer const &, std::ostream &,
+                    OutputParams const &) const;
        ///
-       int docbook(Buffer const &, std::ostream &, bool mixcont) const;
+       int docbook(Buffer const &, std::ostream &,
+                   OutputParams const &) const;
        ///
        void validate(LaTeXFeatures &) const;
        ///
        void addPreview(lyx::graphics::PreviewLoader &) const;
 protected:
        ///
-       virtual
-       dispatch_result
-       priv_dispatch(FuncRequest const & cmd, idx_type &, pos_type &);
+       virtual void priv_dispatch(LCursor & cur, FuncRequest & cmd);
 private:
-       /// Slot receiving a signal that the preview is ready to display.
-       void statusChanged() const;
        /** Slot receiving a signal that the external file has changed
         *  and the preview should be regenerated.
         */