From fdeb33d34a97d062a120f72da919f81d7b1d45bf Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Thu, 20 Mar 2025 22:10:57 +0530 Subject: Move header files to src --- include/LuaRuntime.hpp | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 include/LuaRuntime.hpp (limited to 'include/LuaRuntime.hpp') diff --git a/include/LuaRuntime.hpp b/include/LuaRuntime.hpp deleted file mode 100644 index 5bfc82c..0000000 --- a/include/LuaRuntime.hpp +++ /dev/null @@ -1,29 +0,0 @@ -#pragma once -#include -#include - -#include "widgets/WebViewStack.hpp" - -class LuaRuntime : public QObject { - Q_OBJECT - -public: - static LuaRuntime *instance() { - static LuaRuntime inst; - return &inst; - } - - void evaluate(QString code); - -signals: - void urlOpened(QString url, OpenType openType); - -protected: - LuaRuntime(); - ~LuaRuntime(); - static int lua_onUrlOpen(lua_State *state); - static int lua_onUrlTabOpen(lua_State *state); - -private: - lua_State *state; -}; -- cgit v1.3.1