aboutsummaryrefslogtreecommitdiff
path: root/include/LuaRuntime.hpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-03-11 23:02:44 +0530
committerAkshay Nair <phenax5@gmail.com>2025-03-12 00:13:47 +0530
commit35d8464f8975ab35c1e2f1a076302d9f95bfb22c (patch)
tree0b4e26e36fb27dd32c0e174e4ef829f1f77c1daf /include/LuaRuntime.hpp
parent0d5b7cb2a8bea5d91c58dd40f80d60bca384b766 (diff)
downloadnull-browser-35d8464f8975ab35c1e2f1a076302d9f95bfb22c.tar.gz
null-browser-35d8464f8975ab35c1e2f1a076302d9f95bfb22c.zip
Refactor browsermanager to webviewstack
Diffstat (limited to '')
-rw-r--r--include/LuaRuntime.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/LuaRuntime.hpp b/include/LuaRuntime.hpp
index 83ebf0c..5bfc82c 100644
--- a/include/LuaRuntime.hpp
+++ b/include/LuaRuntime.hpp
@@ -2,7 +2,7 @@
#include <QtCore>
#include <lua.hpp>
-#include "widgets/BrowserManager.hpp"
+#include "widgets/WebViewStack.hpp"
class LuaRuntime : public QObject {
Q_OBJECT
@@ -15,14 +15,12 @@ public:
void evaluate(QString code);
-protected:
- LuaRuntime();
- ~LuaRuntime();
-
signals:
void urlOpened(QString url, OpenType openType);
protected:
+ LuaRuntime();
+ ~LuaRuntime();
static int lua_onUrlOpen(lua_State *state);
static int lua_onUrlTabOpen(lua_State *state);