+ ///
+ struct Position {
+ /// Filename
+ string filename;
+ /// Cursor paragraph Id
+ int par_id;
+ /// Cursor position
+ lyx::pos_type par_pos;
+ ///
+ Position() : par_id(0), par_pos(0) {}
+ ///
+ Position(string const & f, int id, lyx::pos_type pos)
+ : filename(f), par_id(id), par_pos(pos) {}
+ };
+ ///
+ std::vector<Position> saved_positions;
+ /// Get next inset of this class from current cursor position
+ Inset * getInsetByCode(Inset::Code code);
+ ///
+ void MenuInsertLyXFile(string const & filen);
+ /// our workarea
+ WorkArea & workarea() const;