From 1f7475248b369e18114086b507ceceacdc1a0c24 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 15 Nov 2012 01:25:38 +0100 Subject: added Interface class to ease porting SciTECO to other platforms (toolkits) * will support Scintilla with Scinterm/NCurses * changes are in such a way that the generated machine code should have almost no overhead compared to the previous implementation (at least when compiled with optimizations) --- undo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'undo.cpp') diff --git a/undo.cpp b/undo.cpp index c6b30ff..da0b593 100644 --- a/undo.cpp +++ b/undo.cpp @@ -6,6 +6,7 @@ #include #include "sciteco.h" +#include "interface.h" #include "undo.h" UndoStack undo; @@ -13,7 +14,7 @@ UndoStack undo; void UndoTokenMessage::run(void) { - editor_msg(iMessage, wParam, lParam); + interface.ssm(iMessage, wParam, lParam); } void -- cgit v1.2.3