-#include "support/lstrings.h"
-#include "Painter.h"
-#include "commandtags.h"
-#include "support/lstrings.h"
-
-using std::endl;
-
-/* Insets default methods */
-
-bool Inset::Deletable() const
-{
- return true;
-}
-
-
-bool Inset::DirectWrite() const
-{
- return false;
-}
-
-
-Inset::EDITABLE Inset::Editable() const
-{
- return NOT_EDITABLE;
-}
-
-
-void Inset::Validate(LaTeXFeatures &) const
-{
-}
-
-
-bool Inset::AutoDelete() const
-{
- return false;
-}
-
-
-void Inset::Edit(BufferView *, int, int, unsigned int)
-{
-}
-
-
-LyXFont const Inset::ConvertFont(LyXFont const & font) const
-{
- return LyXFont(font);
-}
-
-
-string const Inset::EditMessage() const
-{
- return _("Opened inset");
-}
-
-
-LyXText * Inset::getLyXText(BufferView const * bv, bool const) const
-{
- if (owner())
- return owner()->getLyXText(bv, false);
- else
- return bv->text;
-}
-
-
- /* some stuff for inset locking */
-
-void UpdatableInset::InsetButtonPress(BufferView *, int x, int y, int button)
-{
- lyxerr.debug() << "Inset Button Press x=" << x
- << ", y=" << y << ", button=" << button << endl;
-}
-
-
-void UpdatableInset::InsetButtonRelease(BufferView *, int x, int y, int button)
-{
- lyxerr.debug() << "Inset Button Release x=" << x
- << ", y=" << y << ", button=" << button << endl;
-}
-
-
-void UpdatableInset::InsetKeyPress(XKeyEvent *)
-{
- lyxerr.debug() << "Inset Keypress" << endl;
-}
-