]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inset.C
If I ever see another licence blurb again, it'll be too soon...
[lyx.git] / src / insets / inset.C
index 07fe683d1e731d0ec785d71378e9bed3191a12ef..c86b238c779a92bdc71f9d515b9e632e31b8773b 100644 (file)
@@ -8,7 +8,7 @@
  * \author Lars Gullik Bjønnes
  * \author Matthias Ettrich
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
@@ -159,3 +159,28 @@ int InsetOld::width() const
 {
        return dim_.wid;
 }
+
+
+bool InsetOld::insetAllowed(InsetOld * in) const
+{
+       return insetAllowed(in->lyxCode());
+}
+
+
+bool InsetOld::checkInsertChar(LyXFont &)
+{
+       return false;
+}
+
+
+bool isEditableInset(InsetOld const * i)
+{
+       return i && i->editable();
+}
+
+
+bool isHighlyEditableInset(InsetOld const * i)
+{
+       return i && i->editable() == InsetOld::HIGHLY_EDITABLE;
+}
+