1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Crazy Eddies GUI System: CEGUILua.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript">
function hasClass(ele,cls) {
return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}
function addClass(ele,cls) {
if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}
function removeClass(ele,cls) {
if (hasClass(ele,cls)) {
var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
ele.className=ele.className.replace(reg,' ');
}
}
function toggleVisibility(linkObj) {
var base = linkObj.getAttribute('id');
var summary = document.getElementById(base + '-summary');
var content = document.getElementById(base + '-content');
var trigger = document.getElementById(base + '-trigger');
if ( hasClass(linkObj,'closed') ) {
summary.style.display = 'none';
content.style.display = 'block';
trigger.src = 'open.png';
removeClass(linkObj,'closed');
addClass(linkObj,'opened');
} else if ( hasClass(linkObj,'opened') ) {
summary.style.display = 'block';
content.style.display = 'none';
trigger.src = 'closed.png';
removeClass(linkObj,'opened');
addClass(linkObj,'closed');
}
return false;
}
</script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Crazy Eddies GUI System <span id="projectnumber">0.7.6</span></div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
</ul>
</div>
<div class="header">
<div class="headertitle">
<div class="title">CEGUILua.h</div> </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***********************************************************************</span>
<a name="l00002"></a>00002 <span class="comment"> filename: CEGUILua.h</span>
<a name="l00003"></a>00003 <span class="comment"> created: 16/3/2005</span>
<a name="l00004"></a>00004 <span class="comment"> author: Tomas Lindquist Olsen</span>
<a name="l00005"></a>00005 <span class="comment"> </span>
<a name="l00006"></a>00006 <span class="comment"> purpose: Defines interface for LuaScriptModule class</span>
<a name="l00007"></a>00007 <span class="comment">*************************************************************************/</span>
<a name="l00008"></a>00008 <span class="comment">/***************************************************************************</span>
<a name="l00009"></a>00009 <span class="comment"> * Copyright (C) 2004 - 2008 Paul D Turner & The CEGUI Development Team</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining</span>
<a name="l00012"></a>00012 <span class="comment"> * a copy of this software and associated documentation files (the</span>
<a name="l00013"></a>00013 <span class="comment"> * "Software"), to deal in the Software without restriction, including</span>
<a name="l00014"></a>00014 <span class="comment"> * without limitation the rights to use, copy, modify, merge, publish,</span>
<a name="l00015"></a>00015 <span class="comment"> * distribute, sublicense, and/or sell copies of the Software, and to</span>
<a name="l00016"></a>00016 <span class="comment"> * permit persons to whom the Software is furnished to do so, subject to</span>
<a name="l00017"></a>00017 <span class="comment"> * the following conditions:</span>
<a name="l00018"></a>00018 <span class="comment"> *</span>
<a name="l00019"></a>00019 <span class="comment"> * The above copyright notice and this permission notice shall be</span>
<a name="l00020"></a>00020 <span class="comment"> * included in all copies or substantial portions of the Software.</span>
<a name="l00021"></a>00021 <span class="comment"> *</span>
<a name="l00022"></a>00022 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,</span>
<a name="l00023"></a>00023 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span>
<a name="l00024"></a>00024 <span class="comment"> * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.</span>
<a name="l00025"></a>00025 <span class="comment"> * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR</span>
<a name="l00026"></a>00026 <span class="comment"> * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,</span>
<a name="l00027"></a>00027 <span class="comment"> * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR</span>
<a name="l00028"></a>00028 <span class="comment"> * OTHER DEALINGS IN THE SOFTWARE.</span>
<a name="l00029"></a>00029 <span class="comment"> ***************************************************************************/</span>
<a name="l00030"></a>00030 <span class="preprocessor">#ifndef _CEGUILua_h_</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define _CEGUILua_h_</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span>
<a name="l00033"></a>00033
<a name="l00034"></a>00034 <span class="comment">/*************************************************************************</span>
<a name="l00035"></a>00035 <span class="comment"> Import / Export control macros</span>
<a name="l00036"></a>00036 <span class="comment">*************************************************************************/</span>
<a name="l00037"></a>00037 <span class="preprocessor">#if (defined( __WIN32__ ) || defined( _WIN32 )) && !defined(CEGUI_STATIC)</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor"># ifdef CEGUILUA_EXPORTS</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor"># define CEGUILUA_API __declspec(dllexport)</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor"># else</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor"># define CEGUILUA_API __declspec(dllimport)</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor"># define CEGUILUA_API</span>
<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span>
<a name="l00047"></a>00047
<a name="l00048"></a>00048 <span class="preprocessor">#include "../../CEGUIScriptModule.h"</span>
<a name="l00049"></a>00049
<a name="l00050"></a>00050 <span class="keyword">struct </span>lua_State;
<a name="l00051"></a>00051
<a name="l00052"></a>00052 <span class="comment">// Start of CEGUI namespace section</span>
<a name="l00053"></a>00053 <span class="keyword">namespace </span>CEGUI
<a name="l00054"></a>00054 {
<a name="l00055"></a>00055
<a name="l00060"></a><a class="code" href="classCEGUI_1_1LuaScriptModule.html">00060</a> <span class="keyword">class </span>CEGUILUA_API <a class="code" href="classCEGUI_1_1LuaScriptModule.html" title="Interface for the LuaScriptModule class.">LuaScriptModule</a> : <span class="keyword">public</span> CEGUI::<a class="code" href="classCEGUI_1_1ScriptModule.html" title="Abstract interface required for all scripting support modules to be used with the CEGUI system...">ScriptModule</a>
<a name="l00061"></a>00061 {
<a name="l00062"></a>00062 <span class="keyword">public</span>:
<a name="l00063"></a>00063 <span class="comment">/*************************************************************************</span>
<a name="l00064"></a>00064 <span class="comment"> Construction and Destruction</span>
<a name="l00065"></a>00065 <span class="comment"> *************************************************************************/</span>
<a name="l00074"></a>00074 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1LuaScriptModule.html" title="Interface for the LuaScriptModule class.">LuaScriptModule</a>& create(lua_State* state = 0);
<a name="l00075"></a>00075
<a name="l00077"></a>00077 <span class="keyword">static</span> <span class="keywordtype">void</span> destroy(<a class="code" href="classCEGUI_1_1LuaScriptModule.html" title="Interface for the LuaScriptModule class.">LuaScriptModule</a>& mod);
<a name="l00078"></a>00078
<a name="l00079"></a>00079
<a name="l00080"></a>00080 <span class="comment">/*************************************************************************</span>
<a name="l00081"></a>00081 <span class="comment"> Script Execution Functions</span>
<a name="l00082"></a>00082 <span class="comment"> *************************************************************************/</span>
<a name="l00095"></a>00095 <span class="keywordtype">void</span> executeScriptFile(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& filename, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& resourceGroup);
<a name="l00096"></a>00096
<a name="l00114"></a>00114 <span class="keywordtype">void</span> executeScriptFile(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& filename,
<a name="l00115"></a>00115 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& resourceGroup,
<a name="l00116"></a>00116 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& error_handler);
<a name="l00117"></a>00117
<a name="l00135"></a>00135 <span class="keywordtype">void</span> executeScriptFile(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& filename,
<a name="l00136"></a>00136 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& resourceGroup,
<a name="l00137"></a>00137 <span class="keyword">const</span> <span class="keywordtype">int</span> error_handler);
<a name="l00138"></a>00138
<a name="l00151"></a>00151 <span class="keywordtype">int</span> executeScriptGlobal(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& function_name);
<a name="l00152"></a>00152
<a name="l00170"></a>00170 <span class="keywordtype">int</span> executeScriptGlobal(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& function_name,
<a name="l00171"></a>00171 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& error_handler);
<a name="l00172"></a>00172
<a name="l00190"></a>00190 <span class="keywordtype">int</span> executeScriptGlobal(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& function_name,
<a name="l00191"></a>00191 <span class="keyword">const</span> <span class="keywordtype">int</span> error_handler);
<a name="l00192"></a>00192
<a name="l00193"></a>00193
<a name="l00212"></a>00212 <span class="keywordtype">bool</span> executeScriptedEventHandler(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& handler_name,
<a name="l00213"></a>00213 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1EventArgs.html" title="Base class used as the argument to all subscribers Event object.">EventArgs</a>& e);
<a name="l00214"></a>00214
<a name="l00238"></a>00238 <span class="keywordtype">bool</span> executeScriptedEventHandler(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& handler_name,
<a name="l00239"></a>00239 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1EventArgs.html" title="Base class used as the argument to all subscribers Event object.">EventArgs</a>& e,
<a name="l00240"></a>00240 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& error_handler);
<a name="l00241"></a>00241
<a name="l00265"></a>00265 <span class="keywordtype">bool</span> executeScriptedEventHandler(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& handler_name,
<a name="l00266"></a>00266 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1EventArgs.html" title="Base class used as the argument to all subscribers Event object.">EventArgs</a>& e,
<a name="l00267"></a>00267 <span class="keyword">const</span> <span class="keywordtype">int</span> error_handler);
<a name="l00268"></a>00268
<a name="l00279"></a>00279 <span class="keywordtype">void</span> executeString(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& str);
<a name="l00280"></a>00280
<a name="l00296"></a>00296 <span class="keywordtype">void</span> executeString(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& str, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& error_handler);
<a name="l00297"></a>00297
<a name="l00313"></a>00313 <span class="keywordtype">void</span> executeString(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& str, <span class="keyword">const</span> <span class="keywordtype">int</span> error_handler);
<a name="l00314"></a>00314
<a name="l00315"></a>00315 <span class="comment">/*************************************************************************</span>
<a name="l00316"></a>00316 <span class="comment"> Event subscription</span>
<a name="l00317"></a>00317 <span class="comment"> *************************************************************************/</span>
<a name="l00336"></a>00336 <a class="code" href="classCEGUI_1_1RefCounted.html">Event::Connection</a> subscribeEvent(<a class="code" href="classCEGUI_1_1EventSet.html" title="Class that collects together a set of Event objects.">EventSet</a>* target, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& name,
<a name="l00337"></a>00337 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& subscriber_name);
<a name="l00338"></a>00338
<a name="l00362"></a>00362 <a class="code" href="classCEGUI_1_1RefCounted.html">Event::Connection</a> subscribeEvent(<a class="code" href="classCEGUI_1_1EventSet.html" title="Class that collects together a set of Event objects.">EventSet</a>* target, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& name,
<a name="l00363"></a>00363 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& subscriber_name,
<a name="l00364"></a>00364 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& error_handler);
<a name="l00365"></a>00365
<a name="l00389"></a>00389 <a class="code" href="classCEGUI_1_1RefCounted.html">Event::Connection</a> subscribeEvent(<a class="code" href="classCEGUI_1_1EventSet.html" title="Class that collects together a set of Event objects.">EventSet</a>* target, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& name,
<a name="l00390"></a>00390 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& subscriber_name,
<a name="l00391"></a>00391 <span class="keyword">const</span> <span class="keywordtype">int</span> error_handler);
<a name="l00392"></a>00392
<a name="l00415"></a>00415 <a class="code" href="classCEGUI_1_1RefCounted.html">Event::Connection</a> subscribeEvent(<a class="code" href="classCEGUI_1_1EventSet.html" title="Class that collects together a set of Event objects.">EventSet</a>* target, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& name,
<a name="l00416"></a>00416 <a class="code" href="classCEGUI_1_1Event.html#ae8d893b984caa6aead199b2c0d60fd9f" title="Type for a subscriber group. You can use the subscriber group to order calls to multiple subscribers...">Event::Group</a> group,
<a name="l00417"></a>00417 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& subscriber_name);
<a name="l00418"></a>00418
<a name="l00446"></a>00446 <a class="code" href="classCEGUI_1_1RefCounted.html">Event::Connection</a> subscribeEvent(<a class="code" href="classCEGUI_1_1EventSet.html" title="Class that collects together a set of Event objects.">EventSet</a>* target, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& name,
<a name="l00447"></a>00447 <a class="code" href="classCEGUI_1_1Event.html#ae8d893b984caa6aead199b2c0d60fd9f" title="Type for a subscriber group. You can use the subscriber group to order calls to multiple subscribers...">Event::Group</a> group,
<a name="l00448"></a>00448 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& subscriber_name,
<a name="l00449"></a>00449 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& error_handler);
<a name="l00450"></a>00450
<a name="l00478"></a>00478 <a class="code" href="classCEGUI_1_1RefCounted.html">Event::Connection</a> subscribeEvent(<a class="code" href="classCEGUI_1_1EventSet.html" title="Class that collects together a set of Event objects.">EventSet</a>* target, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& name,
<a name="l00479"></a>00479 <a class="code" href="classCEGUI_1_1Event.html#ae8d893b984caa6aead199b2c0d60fd9f" title="Type for a subscriber group. You can use the subscriber group to order calls to multiple subscribers...">Event::Group</a> group,
<a name="l00480"></a>00480 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& subscriber_name,
<a name="l00481"></a>00481 <span class="keyword">const</span> <span class="keywordtype">int</span> error_handler);
<a name="l00482"></a>00482
<a name="l00483"></a>00483 <span class="comment">/*************************************************************************</span>
<a name="l00484"></a>00484 <span class="comment"> Bindings creation / destruction</span>
<a name="l00485"></a>00485 <span class="comment"> *************************************************************************/</span>
<a name="l00496"></a>00496 <span class="keywordtype">void</span> createBindings(<span class="keywordtype">void</span>);
<a name="l00497"></a>00497
<a name="l00508"></a>00508 <span class="keywordtype">void</span> destroyBindings(<span class="keywordtype">void</span>);
<a name="l00509"></a>00509
<a name="l00510"></a>00510 <span class="comment">/*************************************************************************</span>
<a name="l00511"></a>00511 <span class="comment"> Accessor type functions</span>
<a name="l00512"></a>00512 <span class="comment"> *************************************************************************/</span>
<a name="l00521"></a><a class="code" href="classCEGUI_1_1LuaScriptModule.html#a93e8062c0fdc3ef98d7b3331e6c48f8d">00521</a> lua_State* <a class="code" href="classCEGUI_1_1LuaScriptModule.html#a93e8062c0fdc3ef98d7b3331e6c48f8d" title="Method used to get a pointer to the lua_State that the script module is attached to.">getLuaState</a>(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{<span class="keywordflow">return</span> d_state;}
<a name="l00522"></a>00522
<a name="l00523"></a>00523 <span class="comment">/*************************************************************************</span>
<a name="l00524"></a>00524 <span class="comment"> Lua error handler related functions</span>
<a name="l00525"></a>00525 <span class="comment"> *************************************************************************/</span>
<a name="l00536"></a>00536 <span class="keywordtype">void</span> setDefaultPCallErrorHandler(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& error_handler_function);
<a name="l00537"></a>00537
<a name="l00547"></a>00547 <span class="keywordtype">void</span> setDefaultPCallErrorHandler(<span class="keywordtype">int</span> function_reference);
<a name="l00548"></a>00548
<a name="l00563"></a>00563 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& getActivePCallErrorHandlerString() <span class="keyword">const</span>;
<a name="l00564"></a>00564
<a name="l00587"></a>00587 <span class="keywordtype">int</span> getActivePCallErrorHandlerReference() <span class="keyword">const</span>;
<a name="l00588"></a>00588
<a name="l00589"></a>00589 <span class="keyword">private</span>:
<a name="l00590"></a>00590 <span class="comment">/*************************************************************************</span>
<a name="l00591"></a>00591 <span class="comment"> Implementation Functions</span>
<a name="l00592"></a>00592 <span class="comment"> *************************************************************************/</span>
<a name="l00601"></a>00601 <a class="code" href="classCEGUI_1_1LuaScriptModule.html" title="Interface for the LuaScriptModule class.">LuaScriptModule</a>(lua_State* state);
<a name="l00602"></a>00602
<a name="l00604"></a>00604 ~<a class="code" href="classCEGUI_1_1LuaScriptModule.html" title="Interface for the LuaScriptModule class.">LuaScriptModule</a>();
<a name="l00605"></a>00605
<a name="l00606"></a>00606
<a name="l00607"></a>00607 <span class="keywordtype">void</span> setModuleIdentifierString();
<a name="l00612"></a>00612 <span class="keywordtype">int</span> initErrorHandlerFunc();
<a name="l00617"></a>00617 <span class="keywordtype">int</span> initErrorHandlerFunc(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> func_name);
<a name="l00622"></a>00622 <span class="keywordtype">int</span> initErrorHandlerFunc(<span class="keywordtype">int</span> func);
<a name="l00623"></a>00623
<a name="l00629"></a>00629 <span class="keywordtype">void</span> cleanupErrorHandlerFunc();
<a name="l00630"></a>00630
<a name="l00632"></a>00632 <span class="keywordtype">void</span> unrefErrorFunc();
<a name="l00633"></a>00633
<a name="l00635"></a>00635 <span class="keywordtype">void</span> executeScriptFile_impl(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& filename,
<a name="l00636"></a>00636 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& resourceGroup,
<a name="l00637"></a>00637 <span class="keyword">const</span> <span class="keywordtype">int</span> err_idx, <span class="keyword">const</span> <span class="keywordtype">int</span> top);
<a name="l00638"></a>00638
<a name="l00640"></a>00640 <span class="keywordtype">int</span> executeScriptGlobal_impl(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& function_name,
<a name="l00641"></a>00641 <span class="keyword">const</span> <span class="keywordtype">int</span> err_idx, <span class="keyword">const</span> <span class="keywordtype">int</span> top);
<a name="l00642"></a>00642
<a name="l00644"></a>00644 <span class="keywordtype">bool</span> executeScriptedEventHandler_impl(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& handler_name,
<a name="l00645"></a>00645 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1EventArgs.html" title="Base class used as the argument to all subscribers Event object.">EventArgs</a>& e,
<a name="l00646"></a>00646 <span class="keyword">const</span> <span class="keywordtype">int</span> err_idx, <span class="keyword">const</span> <span class="keywordtype">int</span> top);
<a name="l00647"></a>00647
<a name="l00649"></a>00649 <span class="keywordtype">void</span> executeString_impl(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& str, <span class="keyword">const</span> <span class="keywordtype">int</span> err_idx, <span class="keyword">const</span> <span class="keywordtype">int</span> top);
<a name="l00650"></a>00650
<a name="l00651"></a>00651 <span class="comment">/*************************************************************************</span>
<a name="l00652"></a>00652 <span class="comment"> Implementation Data</span>
<a name="l00653"></a>00653 <span class="comment"> *************************************************************************/</span>
<a name="l00655"></a>00655 <span class="keywordtype">bool</span> d_ownsState;
<a name="l00657"></a>00657 lua_State* d_state;
<a name="l00659"></a>00659 <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> d_errFuncName;
<a name="l00661"></a>00661 <span class="keywordtype">int</span> d_errFuncIndex;
<a name="l00665"></a>00665 <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> d_activeErrFuncName;
<a name="l00669"></a>00669 <span class="keywordtype">int</span> d_activeErrFuncIndex;
<a name="l00670"></a>00670 };
<a name="l00671"></a>00671
<a name="l00672"></a>00672 } <span class="comment">// namespace CEGUI</span>
<a name="l00673"></a>00673
<a name="l00674"></a>00674 <span class="preprocessor">#endif // end of guard _CEGUILua_h_</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sun Jan 22 2012 16:07:39 for Crazy Eddies GUI System by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
|