]> git.lyx.org Git - features.git/blobdiff - src/insets/insetcommand.h
Part of IU.
[features.git] / src / insets / insetcommand.h
index c20d3efe0a9af95f6c45df2b1136f51cbed25bb6..ce0b85b629a5666b3c8607bdca5a310223ff6e68 100644 (file)
 #ifndef INSET_LATEXCOMMAND_H
 #define INSET_LATEXCOMMAND_H
 
-
 #include "inset.h"
 #include "insetcommandparams.h"
 #include "render_button.h"
 #include "mailinset.h"
+#include "cursor.h"
+
 
 // Created by Alejandro 970222
 /** Used to insert a LaTeX command automatically
@@ -30,9 +31,7 @@
 class InsetCommand : public InsetOld {
 public:
        ///
-       explicit
-       InsetCommand(InsetCommandParams const &,
-                    std::string const & mailer_name);
+       InsetCommand(InsetCommandParams const &, std::string const & mailer_name);
        ///
        ~InsetCommand();
        ///
@@ -77,7 +76,7 @@ protected:
        ///
        virtual
        DispatchResult
-       priv_dispatch(BufferView & bv, FuncRequest const & cmd);
+       priv_dispatch(LCursor & cur, FuncRequest const & cmd);
        ///
        std::string const getCommand() const { return p_.getCommand(); }
        ///