#include "dimension.h"
#include "ParagraphList_fwd.h"
+
class Buffer;
class LColor_color;
class FuncRequest;
///
NEWLINE_CODE,
///
- BRANCH_CODE
+ BRANCH_CODE,
+ ///
+ BOX_CODE
};
///
HIGHLY_EDITABLE
};
- ///
- typedef dispatch_result RESULT;
-
///
InsetOld();
///
///
int width() const;
/// what appears in the minibuffer when opening
- virtual string const editMessage() const;
+ virtual std::string const editMessage() const;
///
virtual EDITABLE editable() const;
///
virtual bool directWrite() const;
///
- void setInsetName(string const & s) { name_ = s; }
+ void setInsetName(std::string const & s) { name_ = s; }
///
- string const & getInsetName() const { return name_; }
+ std::string const & getInsetName() const { return name_; }
///
void setOwner(UpdatableInset * inset) { owner_ = inset; }
///
* defaults to empty.
*/
virtual void addPreview(lyx::graphics::PreviewLoader &) const {}
-
- /** Find the PreviewLoader, add a LaTeX snippet to it and
- * start the loading process.
- *
- * Most insets have no interest in this capability, so the method
- * defaults to empty.
- */
- virtual void generatePreview() const {}
-
protected:
///
mutable int top_x;
///
UpdatableInset * owner_;
///
- string name_;
+ std::string name_;
/** We store the LColor::color value as an int to get LColor.h out
* of the header file.
*/