#ifndef INSET_INCLUDE_H
#define INSET_INCLUDE_H
-#include "InsetBase.h"
+#include "Inset.h"
#include "InsetCommandParams.h"
#include "RenderButton.h"
#include "MailInset.h"
/// for including tex/lyx files
-class InsetInclude : public InsetBase {
+class InsetInclude : public Inset {
public:
///
InsetInclude(InsetCommandParams const &);
///
void draw(PainterInfo & pi, int x, int y) const;
///
- virtual bool display() const;
+ virtual DisplayType display() const;
/// get the parameters
InsetCommandParams const & params() const;
///
- InsetBase::Code lyxCode() const { return InsetBase::INCLUDE_CODE; }
+ Inset::Code lyxCode() const { return Inset::INCLUDE_CODE; }
/** Fills \c list
* \param buffer the Buffer containing this inset.
* \param list the list of labels in the child buffer.
///
virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
private:
- virtual std::auto_ptr<InsetBase> doClone() const;
+ virtual std::auto_ptr<Inset> doClone() const;
/** Slot receiving a signal that the external file has changed
* and the preview should be regenerated.
///
InsetIncludeMailer(InsetInclude & inset);
///
- virtual InsetBase & inset() const { return inset_; }
+ virtual Inset & inset() const { return inset_; }
///
virtual std::string const & name() const { return name_; }
///