]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetExternal.h
Fix bug 3363: mark buffer dirty after middle button paste in plain text and table...
[lyx.git] / src / insets / InsetExternal.h
index 5686dc8cf395faec9412eef55dcda3e0a65e8fd2..31af0458a18b0e7f40d9b5504126b2bbcea7b82f 100644 (file)
@@ -104,14 +104,14 @@ private:
 class RenderBase;
 
 ///
-class InsetExternal : public InsetOld, public boost::signals::trackable
+class InsetExternal : public Inset, public boost::signals::trackable
 {
 public:
        InsetExternal();
        ///
        virtual ~InsetExternal();
        ///
-       virtual InsetBase::Code lyxCode() const { return EXTERNAL_CODE; }
+       virtual Inset::Code lyxCode() const { return EXTERNAL_CODE; }
        ///
        virtual EDITABLE editable() const { return IS_EDITABLE; }
 
@@ -126,13 +126,13 @@ public:
 
        /// \returns the number of rows (\n's) of generated code.
        int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+                 OutputParams const &) const;
        ///
        int plaintext(Buffer const &, odocstream &,
-                     OutputParams const &) const;
+                     OutputParams const &) const;
        ///
        int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const;
+                   OutputParams const &) const;
 
        /// Update needed features for this inset.
        virtual void validate(LaTeXFeatures & features) const;
@@ -153,7 +153,7 @@ protected:
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 
        /** This method is connected to the graphics loader, so we are
         *  informed when the image has been loaded.
@@ -177,7 +177,7 @@ public:
        ///
        InsetExternalMailer(InsetExternal & inset);
        ///
-       virtual InsetBase & inset() const { return inset_; }
+       virtual Inset & inset() const { return inset_; }
        ///
        virtual std::string const & name() const { return name_; }
        ///