aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/undo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/undo.h')
-rw-r--r--src/undo.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/undo.h b/src/undo.h
index 5cc3b3a..b4742c3 100644
--- a/src/undo.h
+++ b/src/undo.h
@@ -23,8 +23,6 @@
#include <glib.h>
#include <glib/gprintf.h>
-#include <Scintilla.h>
-
#ifdef DEBUG
#include "parser.h"
#endif
@@ -42,20 +40,6 @@ public:
virtual void run() = 0;
};
-class UndoTokenMessage : public UndoToken {
- unsigned int iMessage;
- uptr_t wParam;
- sptr_t lParam;
-
-public:
- UndoTokenMessage(unsigned int _iMessage,
- uptr_t _wParam = 0, sptr_t _lParam = 0)
- : UndoToken(), iMessage(_iMessage),
- wParam(_wParam), lParam(_lParam) {}
-
- void run(void);
-};
-
template <typename Type>
class UndoTokenVariable : public UndoToken {
Type *ptr;
@@ -140,13 +124,6 @@ public:
void push(UndoToken *token);
- inline void
- push_msg(unsigned int iMessage,
- uptr_t wParam = 0, sptr_t lParam = 0)
- {
- push(new UndoTokenMessage(iMessage, wParam, lParam));
- }
-
template <typename Type>
inline Type &
push_var(Type &variable, Type value)