]> git.lyx.org Git - lyx.git/blobdiff - src/insets/Inset.cpp
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / Inset.cpp
index 616c180c3a45f1be24c1e4a16901b3dec0e24a88..fe5b1a7f26bbca89a724415f5765b22efca11391 100644 (file)
 #include "DispatchResult.h"
 #include "FuncRequest.h"
 #include "FuncStatus.h"
+#include "LyX.h" // quitting
+#include "MetricsInfo.h"
 #include "Text.h"
 #include "TextClass.h"
-#include "MetricsInfo.h"
-#include "MetricsInfo.h"
 
 #include "frontends/Painter.h"
 #include "frontends/Application.h"
@@ -43,8 +43,6 @@ using namespace std;
 
 namespace lyx {
 
-extern bool quitting;
-
 class InsetName {
 public:
        InsetName(string const & n, InsetCode c) : name(n), code(c) {}
@@ -213,7 +211,7 @@ bool Inset::getStatus(Cursor &, FuncRequest const & cmd,
 }
 
 
-void Inset::edit(Cursor &, bool)
+void Inset::edit(Cursor &, bool, EntryDirection)
 {
        LYXERR(Debug::INSETS, "edit left/right");
 }