]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetref.h
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / insetref.h
index 13d32ce260598a194890baf4c7cff2e227a9f1d5..239d3317f0e748514a8bcb304d0a83f1aae2a6ea 100644 (file)
 #ifndef INSET_REF_H
 #define INSET_REF_H
 
-
 #include "insetcommand.h"
 
-struct LaTeXFeatures;
 
-/** The reference inset
- */
+/// The reference inset
 class InsetRef : public InsetCommand {
 public:
        struct type_info {
@@ -40,7 +37,6 @@ public:
 
        InsetRef(InsetRef const &);
 
-       ~InsetRef();
        ///
        virtual std::auto_ptr<InsetBase> clone() const {
                return std::auto_ptr<InsetBase>(new InsetRef(*this));
@@ -69,9 +65,7 @@ public:
        void validate(LaTeXFeatures & features) const;
 protected:
        ///
-       virtual
-       DispatchResult
-       priv_dispatch(FuncRequest const & cmd, idx_type &, pos_type &);
+       void priv_dispatch(LCursor & cur, FuncRequest & cmd);
 private:
        ///
        bool isLatex;