aboutsummaryrefslogtreecommitdiff
path: root/include/InputMediator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/InputMediator.hpp')
-rw-r--r--include/InputMediator.hpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/include/InputMediator.hpp b/include/InputMediator.hpp
deleted file mode 100644
index 7194ff9..0000000
--- a/include/InputMediator.hpp
+++ /dev/null
@@ -1,33 +0,0 @@
-#pragma once
-
-#include <QWidget>
-#include <QtCore>
-
-#include "LuaRuntime.hpp"
-#include "keymap/KeymapEvaluator.hpp"
-#include "utils.hpp"
-#include "widgets/WebViewStack.hpp"
-
-class InputMediator : public QObject {
- Q_OBJECT
-
-public:
- InputMediator(WebViewStack *webViewStack, LuaRuntime *luaRuntime,
- KeymapEvaluator *keymapEvaluator);
- ~InputMediator();
-
- DELEGATE(webViewStack, openUrl, openUrl)
- DELEGATE(webViewStack, currentUrl, currentUrl)
- DELEGATE(webViewStack, next, nextWebView)
- DELEGATE(webViewStack, previous, previousWebView)
- DELEGATE(webViewStack, closeCurrent, closeCurrentWebView)
- DELEGATE(keymapEvaluator, evaluate, evaluateKeymap)
-
-private:
- void evaluateCommand(QString command);
-
-private:
- WebViewStack *webViewStack;
- LuaRuntime *luaRuntime;
- KeymapEvaluator *keymapEvaluator;
-};