Last change
on this file since 4936 was
4866,
checked in by bensch, 19 years ago
|
orxonox/trunk: Iniparser is passed on to the EvenetHandler over orxonox
|
File size:
837 bytes
|
Rev | Line | |
---|
[4817] | 1 | /* |
---|
[4329] | 2 | orxonox - the future of 3D-vertical-scrollers |
---|
| 3 | |
---|
| 4 | Copyright (C) 2004 orx |
---|
| 5 | |
---|
| 6 | This program is free software; you can redistribute it and/or modify |
---|
| 7 | it under the terms of the GNU General Public License as published by |
---|
| 8 | the Free Software Foundation; either version 2, or (at your option) |
---|
| 9 | any later version. |
---|
| 10 | |
---|
| 11 | ### File Specific: |
---|
[4346] | 12 | main-programmer: Patrick Boenzli |
---|
[4329] | 13 | co-programmer: ... |
---|
| 14 | */ |
---|
| 15 | |
---|
[4346] | 16 | #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_EVENT |
---|
[4329] | 17 | |
---|
[4346] | 18 | #include "event_listener.h" |
---|
[4817] | 19 | #include "event_handler.h" |
---|
[4329] | 20 | |
---|
| 21 | using namespace std; |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | /** |
---|
[4836] | 25 | * standard constructor |
---|
[4329] | 26 | */ |
---|
[4817] | 27 | EventListener::EventListener () |
---|
[4329] | 28 | { |
---|
[4836] | 29 | this->setClassID(CL_EVENT_LISTENER, "EventListener"); |
---|
[4329] | 30 | } |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | /** |
---|
[4836] | 34 | * standard deconstructor |
---|
[4329] | 35 | */ |
---|
[4817] | 36 | EventListener::~EventListener () |
---|
| 37 | { |
---|
| 38 | /* unsubscribes itself from the event listener */ |
---|
[4866] | 39 | EventHandler::getInstance()->unsubscribe(this, ES_ALL); |
---|
[4817] | 40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.