36 #if (defined( __WIN32__ ) || defined( _WIN32 )) && !defined(CEGUI_STATIC)
37 # ifdef CEGUILUASCRIPTMODULE_EXPORTS
38 # define CEGUILUA_API __declspec(dllexport)
40 # define CEGUILUA_API __declspec(dllimport)
47 #include "CEGUI/ScriptModule.h"
94 void executeScriptFile(
const String& filename,
const String& resourceGroup);
113 void executeScriptFile(
const String& filename,
114 const String& resourceGroup,
115 const String& error_handler);
134 void executeScriptFile(
const String& filename,
135 const String& resourceGroup,
136 const int error_handler);
150 int executeScriptGlobal(
const String& function_name);
169 int executeScriptGlobal(
const String& function_name,
170 const String& error_handler);
189 int executeScriptGlobal(
const String& function_name,
190 const int error_handler);
211 bool executeScriptedEventHandler(
const String& handler_name,
237 bool executeScriptedEventHandler(
const String& handler_name,
239 const String& error_handler);
264 bool executeScriptedEventHandler(
const String& handler_name,
266 const int error_handler);
278 void executeString(
const String& str);
295 void executeString(
const String& str,
const String& error_handler);
312 void executeString(
const String& str,
const int error_handler);
336 const String& subscriber_name);
362 const String& subscriber_name,
363 const String& error_handler);
389 const String& subscriber_name,
390 const int error_handler);
416 const String& subscriber_name);
447 const String& subscriber_name,
448 const String& error_handler);
479 const String& subscriber_name,
480 const int error_handler);
495 void createBindings(
void);
507 void destroyBindings(
void);
535 void setDefaultPCallErrorHandler(
const String& error_handler_function);
546 void setDefaultPCallErrorHandler(
int function_reference);
562 const String& getActivePCallErrorHandlerString()
const;
586 int getActivePCallErrorHandlerReference()
const;
606 void setModuleIdentifierString();
611 int initErrorHandlerFunc();
616 int initErrorHandlerFunc(
const String func_name);
621 int initErrorHandlerFunc(
int func);
628 void cleanupErrorHandlerFunc();
631 void unrefErrorFunc();
634 void executeScriptFile_impl(
const String& filename,
635 const String& resourceGroup,
636 const int err_idx,
const int top);
639 int executeScriptGlobal_impl(
const String& function_name,
640 const int err_idx,
const int top);
643 bool executeScriptedEventHandler_impl(
const String& handler_name,
645 const int err_idx,
const int top);
648 void executeString_impl(
const String& str,
const int err_idx,
const int top);
664 String d_activeErrFuncName;
668 int d_activeErrFuncIndex;
673 #endif // end of guard _CEGUILua_h_
Abstract interface required for all scripting support modules to be used with the CEGUI system...
Definition: ScriptModule.h:45
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
Base class used as the argument to all subscribers Event object.
Definition: EventArgs.h:49
Interface for the LuaScriptModule class.
Definition: ScriptModules/Lua/ScriptModule.h:59
lua_State * getLuaState(void) const
Method used to get a pointer to the lua_State that the script module is attached to.
Definition: ScriptModules/Lua/ScriptModule.h:520
Interface providing event signaling and handling.
Definition: EventSet.h:166
unsigned int Group
Type for a subscriber group. You can use the subscriber group to order calls to multiple subscribers...
Definition: Event.h:84
String class used within the GUI system.
Definition: String.h:62