Last change
on this file since 6046 was
5781,
checked in by rgrieder, 15 years ago
|
Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).
|
-
Property svn:eol-style set to
native
|
File size:
1.4 KB
|
Line | |
---|
1 | /************************************************************************ |
---|
2 | Event |
---|
3 | *************************************************************************/ |
---|
4 | class Event |
---|
5 | { |
---|
6 | string getName() const; |
---|
7 | }; |
---|
8 | |
---|
9 | class EventConnection |
---|
10 | { |
---|
11 | bool connected() const; |
---|
12 | void disconnect(); |
---|
13 | }; |
---|
14 | |
---|
15 | |
---|
16 | /*********************************************************************** |
---|
17 | EventSet |
---|
18 | ***********************************************************************/ |
---|
19 | class EventSet |
---|
20 | { |
---|
21 | void addEvent(string name); |
---|
22 | void removeEvent(string name); |
---|
23 | void removeAllEvents(); |
---|
24 | bool isEventPresent(string name); |
---|
25 | |
---|
26 | tolua_throws|CEGUI::UnknownObjectException,error| tolua_outside EventConnection LuaFunctorSubscribeEvent @ subscribeEvent(string name, lua_Object funcIndex, lua_Object selfIndex=LUA_NOREF, lua_Object error_handler = LUA_NOREF, lua_State*); |
---|
27 | |
---|
28 | tolua_throws|CEGUI::UnknownObjectException,error| EventConnection subscribeScriptedEvent @ subscribeEvent(string name, string callback_name); |
---|
29 | |
---|
30 | void fireEvent(string name, EventArgs& args, string eventnamespace=""); |
---|
31 | |
---|
32 | bool isMuted() const; |
---|
33 | void setMutedState(bool setting); |
---|
34 | |
---|
35 | tolua_outside EventIterator ceguiLua_getEventIterator @ getEventIterator() const; |
---|
36 | }; |
---|
37 | |
---|
38 | |
---|
39 | |
---|
40 | /*********************************************************************** |
---|
41 | GlobalEventSet |
---|
42 | ***********************************************************************/ |
---|
43 | class GlobalEventSet : public EventSet |
---|
44 | { |
---|
45 | static GlobalEventSet& getSingleton(); |
---|
46 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.