Saga3D API Documentation
1.0-RC4
IEventReceiver.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2012 Nikolaus Gebhardt
2
// This file is part of the "Irrlicht Engine".
3
// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5
#ifndef __I_EVENT_RECEIVER_H_INCLUDED__
6
#define __I_EVENT_RECEIVER_H_INCLUDED__
7
8
union
SDL_Event;
9
10
namespace
saga
11
{
12
14
17
class
IEventReceiver
18
{
19
public
:
21
virtual
~IEventReceiver
() {}
22
24
virtual
void
onEvent
(
const
SDL_Event& event) = 0;
25
};
26
27
}
// namespace saga
28
29
#endif // __I_EVENT_RECEIVER_H_INCLUDED__
30
saga::IEventReceiver
Interface of an object which can receive events (SDL_Event*)
Definition:
IEventReceiver.h:17
saga::IEventReceiver::~IEventReceiver
virtual ~IEventReceiver()
Destructor.
Definition:
IEventReceiver.h:21
saga::IEventReceiver::onEvent
virtual void onEvent(const SDL_Event &event)=0
Called when an SDL event is fired.
saga
Definition:
aabbox3d.h:11
library
include
IEventReceiver.h
Generated by
1.8.17