]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/ref_inset.h
the DocIterator stuff
[lyx.git] / src / mathed / ref_inset.h
index 3a5d327ba21b552bd0db01645edc43486b8e3938..4e33280bd483a85ee7b0b45f10406d9c1529cc40 100644 (file)
@@ -36,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,9 +60,7 @@ public:
        static std::string const & getName(int type);
 protected:
        ///
-       virtual
-       dispatch_result
-       priv_dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
+       void priv_dispatch(LCursor & cur, FuncRequest const & cmd);
 };
 
 #endif