37 #if (defined( __WIN32__ ) || defined( _WIN32 )) && !defined(CEGUI_STATIC)
38 # ifdef CEGUILUA_EXPORTS
39 # define CEGUILUA_API __declspec(dllexport)
41 # define CEGUILUA_API __declspec(dllimport)
48 #include "CEGUIScriptModule.h"
105 void executeScriptFile(
const String& filename,
const String& resourceGroup);
124 void executeScriptFile(
const String& filename,
125 const String& resourceGroup,
126 const String& error_handler);
145 void executeScriptFile(
const String& filename,
146 const String& resourceGroup,
147 const int error_handler);
161 int executeScriptGlobal(
const String& function_name);
180 int executeScriptGlobal(
const String& function_name,
181 const String& error_handler);
200 int executeScriptGlobal(
const String& function_name,
201 const int error_handler);
222 bool executeScriptedEventHandler(
const String& handler_name,
248 bool executeScriptedEventHandler(
const String& handler_name,
250 const String& error_handler);
275 bool executeScriptedEventHandler(
const String& handler_name,
277 const int error_handler);
289 void executeString(
const String& str);
306 void executeString(
const String& str,
const String& error_handler);
323 void executeString(
const String& str,
const int error_handler);
347 const String& subscriber_name);
373 const String& subscriber_name,
374 const String& error_handler);
400 const String& subscriber_name,
401 const int error_handler);
427 const String& subscriber_name);
458 const String& subscriber_name,
459 const String& error_handler);
490 const String& subscriber_name,
491 const int error_handler);
506 void createBindings(
void);
518 void destroyBindings(
void);
546 void setDefaultPCallErrorHandler(
const String& error_handler_function);
557 void setDefaultPCallErrorHandler(
int function_reference);
573 const String& getActivePCallErrorHandlerString()
const;
597 int getActivePCallErrorHandlerReference()
const;
603 void setModuleIdentifierString();
608 int initErrorHandlerFunc();
613 int initErrorHandlerFunc(
const String func_name);
618 int initErrorHandlerFunc(
int func);
625 void cleanupErrorHandlerFunc();
628 void unrefErrorFunc();
631 void executeScriptFile_impl(
const String& filename,
632 const String& resourceGroup,
633 const int err_idx,
const int top);
636 int executeScriptGlobal_impl(
const String& function_name,
637 const int err_idx,
const int top);
640 bool executeScriptedEventHandler_impl(
const String& handler_name,
642 const int err_idx,
const int top);
645 void executeString_impl(
const String& str,
const int err_idx,
const int top);
661 String d_activeErrFuncName;
665 int d_activeErrFuncIndex;
670 #endif // end of guard _CEGUILua_h_