#include <event.h>
A base class for events.
- Author
- Jakob Schröter js@ca.nosp@m.maya.nosp@m..net
- Since
- 1.0
Definition at line 28 of file event.h.
Creates a new Event of the given type.
- Parameters
-
Definition at line 46 of file event.h.
Creates a new Event of the given type, referencing the given Stanza.
- Parameters
-
type | The Event type. |
stanza | A Stanza to point at. No copy of the Stanza is taken, just its address. |
Definition at line 53 of file event.h.
Virtual Destructor.
Definition at line 58 of file event.h.
const Stanza* stanza |
( |
| ) |
const |
|
inline |
Returns a pointer to a Stanza-derived object.
- Returns
- A pointer to a Stanza that caused the event. May be 0.
- Note
- You should not delete the Stanza object.
Definition at line 71 of file event.h.
The documentation for this class was generated from the following file: