#define INSETCAPTION_H
#include "InsetText.h"
-#include "TextClass.h"
-
namespace lyx {
+class TextClass;
+
/** A caption inset
*/
class InsetCaption : public InsetText {
///
virtual bool neverIndent(Buffer const &) const { return true; }
///
- virtual Inset::Code lyxCode() const;
+ virtual InsetCode lyxCode() const;
///
virtual docstring const editMessage() const;
///
///
virtual Inset * editXY(Cursor & cur, int x, int y);
///
- bool insetAllowed(Inset::Code code) const;
+ bool insetAllowed(InsetCode code) const;
///
virtual bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus &) const;
// Update the counters of this inset and of its contents
inline
-Inset::Code InsetCaption::lyxCode() const
+InsetCode InsetCaption::lyxCode() const
{
return CAPTION_CODE;
}