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"
95 void executeScriptFile(
const String& filename,
const String& resourceGroup);
114 void executeScriptFile(
const String& filename,
115 const String& resourceGroup,
116 const String& error_handler);
135 void executeScriptFile(
const String& filename,
136 const String& resourceGroup,
137 const int error_handler);
151 int executeScriptGlobal(
const String& function_name);
170 int executeScriptGlobal(
const String& function_name,
171 const String& error_handler);
190 int executeScriptGlobal(
const String& function_name,
191 const int error_handler);
212 bool executeScriptedEventHandler(
const String& handler_name,
238 bool executeScriptedEventHandler(
const String& handler_name,
240 const String& error_handler);
265 bool executeScriptedEventHandler(
const String& handler_name,
267 const int error_handler);
279 void executeString(
const String& str);
296 void executeString(
const String& str,
const String& error_handler);
313 void executeString(
const String& str,
const int error_handler);
337 const String& subscriber_name);
363 const String& subscriber_name,
364 const String& error_handler);
390 const String& subscriber_name,
391 const int error_handler);
417 const String& subscriber_name);
448 const String& subscriber_name,
449 const String& error_handler);
480 const String& subscriber_name,
481 const int error_handler);
496 void createBindings(
void);
508 void destroyBindings(
void);
536 void setDefaultPCallErrorHandler(
const String& error_handler_function);
547 void setDefaultPCallErrorHandler(
int function_reference);
563 const String& getActivePCallErrorHandlerString()
const;
587 int getActivePCallErrorHandlerReference()
const;
607 void setModuleIdentifierString();
612 int initErrorHandlerFunc();
617 int initErrorHandlerFunc(
const String func_name);
622 int initErrorHandlerFunc(
int func);
629 void cleanupErrorHandlerFunc();
632 void unrefErrorFunc();
635 void executeScriptFile_impl(
const String& filename,
636 const String& resourceGroup,
637 const int err_idx,
const int top);
640 int executeScriptGlobal_impl(
const String& function_name,
641 const int err_idx,
const int top);
644 bool executeScriptedEventHandler_impl(
const String& handler_name,
646 const int err_idx,
const int top);
649 void executeString_impl(
const String& str,
const int err_idx,
const int top);
665 String d_activeErrFuncName;
669 int d_activeErrFuncIndex;
674 #endif // end of guard _CEGUILua_h_