#include <cstddef>
#include <iosfwd>
+
+namespace lyx {
+
class BufferView;
class InsetBase;
class MathInset;
public:
/// type for cell number in inset
typedef size_t idx_type;
- /// type for paragraph numbers positions within a cell
- typedef lyx::pit_type pit_type;
- /// type for cursor positions within a cell
- typedef lyx::pos_type pos_type;
/// type for row indices
typedef size_t row_type;
/// type for col indices
///
/// mathed specific stuff
///
- /// returns the owning inset if it is a MathInset, else 0
- MathInset * asMathInset() const { return inset_->asMathInset(); }
+ /// returns the owning inset if it is a InsetMath, else 0
+ InsetMath * asInsetMath() const { return inset_->asInsetMath(); }
/// returns cell corresponding to this position
MathArray & cell() const;
/// test for order
bool operator<=(CursorSlice const &, CursorSlice const &);
+
+} // namespace lyx
+
#endif