]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/ref_inset.h
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / ref_inset.h
index c8ff0347afd711328460951128a22eb2a8c13ed8..0132d78ab3a61a777b32fd461408014bafe1f4f7 100644 (file)
@@ -18,11 +18,13 @@ public:
        ///
        void infoize(std::ostream & os) const;
        ///
-       result_type dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
+       dispatch_result dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
        ///
        string screenLabel() const;
        ///
        void validate(LaTeXFeatures & features) const;
+       ///
+       virtual RefInset * asRefInset() { return this; }
 
        /// plain ascii output
        int ascii(std::ostream & os, int) const;
@@ -31,6 +33,8 @@ public:
        /// docbook output
        int docbook(std::ostream & os, bool) const;
 
+       /// small wrapper for the time being
+       dispatch_result localDispatch(FuncRequest const & cmd);
 
        struct ref_type_info {
                ///