#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 {
InsetRef(InsetRef const &);
- ~InsetRef();
///
virtual std::auto_ptr<InsetBase> clone() const {
return std::auto_ptr<InsetBase>(new InsetRef(*this));
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;