From eb323166d9ae600fe422725ea29575ba4613b6d2 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Thu, 8 Aug 2013 16:30:02 +0200 Subject: Removed LuaScript. The WebAdmin now uses LuaState directly to call the one function it needs. --- source/LuaScript.h | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 source/LuaScript.h (limited to 'source/LuaScript.h') diff --git a/source/LuaScript.h b/source/LuaScript.h deleted file mode 100644 index 99ccb3d49..000000000 --- a/source/LuaScript.h +++ /dev/null @@ -1,45 +0,0 @@ - -// LuaScript.h - -// Declares the cLuaScript class that loads a Lua script file to produce a web template out of it - - - - - -#pragma once - -#include "LuaState.h" - - - - - -// fwd: -class cWebAdmin; -struct HTTPTemplateRequest; - - - - - -class cLuaScript -{ -public: - cLuaScript(void); - - /// Prepares a Lua state - void Initialize(); - - /// Load a Lua script on the given path - bool LoadFile(const char * a_FilePath); - - bool CallShowPage(cWebAdmin & a_WebAdmin, HTTPTemplateRequest & a_Request, AString & a_ReturnedString); - -protected: - cLuaState m_LuaState; -} ; - - - - -- cgit v1.2.3