]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/ref_inset.h
mathed uglyfication
[lyx.git] / src / mathed / ref_inset.h
index a70f3f3c4230779f157777e034f56317efe99bdc..a65f9be9e28458ae6b3943c5fa3ec77902366af0 100644 (file)
@@ -29,8 +29,6 @@ public:
        ///
        void infoize(std::ostream & os) const;
        ///
-       dispatch_result dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
-       ///
        std::string const screenLabel() const;
        ///
        void validate(LaTeXFeatures & features) const;
@@ -38,14 +36,14 @@ public:
        virtual RefInset * asRefInset() { return this; }
 
        /// plain ascii output
-       int ascii(std::ostream & os, int) const;
+       int plaintext(std::ostream & os, OutputParams const &) const;
        /// linuxdoc output
-       int linuxdoc(std::ostream & os) const;
+       int linuxdoc(std::ostream & os, OutputParams const &) const;
        /// docbook output
-       int docbook(std::ostream & os, bool) const;
+       int docbook(std::ostream & os, OutputParams const &) const;
 
        /// small wrapper for the time being
-       dispatch_result localDispatch(FuncRequest const & cmd);
+       DispatchResult localDispatch(FuncRequest const & cmd);
 
        struct ref_type_info {
                ///
@@ -60,6 +58,11 @@ public:
        static int getType(std::string const & name);
        ///
        static std::string const & getName(int type);
+protected:
+       ///
+       virtual
+       DispatchResult
+       priv_dispatch(BufferView & bv, FuncRequest const & cmd);
 };
 
 #endif