Revert "Add a --enable-lua switch to enable LUA support"

This reverts commit c980278eb1.

This just makes the code unreadable and why would one build
without lua :-)


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5525e9f4b5
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-01-23 (Thu, 23 Jan 2014)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2014-01-23 14:11:03 +01:00
parent b7c804fc22
commit 12041ff30b
6 changed files with 6 additions and 58 deletions

View File

@@ -51,12 +51,8 @@ class CPlugins
P_TYPE_DISABLED = 0x1,
P_TYPE_GAME = 0x2,
P_TYPE_TOOL = 0x4,
P_TYPE_SCRIPT = 0x8
#if ENABLE_LUA
,
P_TYPE_SCRIPT = 0x8,
P_TYPE_LUA = 0x10
#endif
}
p_type_t;
@@ -127,9 +123,8 @@ class CPlugins
void startPlugin(int number,int param);
void start_plugin_by_name(const std::string & filename,int param);// start plugins by "name=" in .cfg
void startScriptPlugin(int number);
#if ENABLE_LUA
void startLuaPlugin(int number);
#endif
void startPlugin(const char * const filename); // start plugins also by name
bool hasPlugin(CPlugins::p_type_t type);