]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetExternal.h
InsetListings: change the interface of diaplay function and allow AlignLeft. Applied...
[lyx.git] / src / insets / InsetExternal.h
index 46559bddc8f181c8c9b9fb3654d655a15bfddc1a..96e9ebab420d03b92c2d6267a3594115bfe7c549 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; }
 
@@ -144,16 +144,16 @@ public:
        ///
        void addPreview(graphics::PreviewLoader &) const;
        ///
-       void edit(LCursor & cur, bool left);
+       void edit(Cursor & cur, bool left);
        ///
-       bool getStatus(LCursor &, FuncRequest const &, FuncStatus &) const;
+       bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
 
 protected:
        InsetExternal(InsetExternal const &);
        ///
-       virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+       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_; }
        ///