#include "command_inset.h"
+class Buffer;
// for \ref
class RefInset : public CommandInset {
///
explicit RefInset(std::string const & data);
///
- virtual std::auto_ptr<InsetBase> clone() const;
- ///
//void write(WriteStream & os) const;
///
void infoize(std::ostream & os) const;
/// linuxdoc output
int linuxdoc(std::ostream & os, OutputParams const &) const;
/// docbook output
- int docbook(std::ostream & os, OutputParams const &) const;
-
- /// small wrapper for the time being
- DispatchResult localDispatch(FuncRequest const & cmd);
+ int docbook(Buffer const & buf, std::ostream & os, OutputParams const &) const;
struct ref_type_info {
///
///
static std::string const & getName(int type);
protected:
+ virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+private:
///
- virtual
- DispatchResult
- priv_dispatch(LCursor & cur, FuncRequest const & cmd);
+ virtual std::auto_ptr<InsetBase> doClone() const;
};
#endif