gloox
1.0.16
Main Page
Related Pages
Namespaces
Classes
Files
File List
src
eventhandler.h
1
/*
2
Copyright (c) 2008-2015 by Jakob Schröter <js@camaya.net>
3
This file is part of the gloox library. http://camaya.net/gloox
4
5
This software is distributed under a license. The full license
6
agreement can be found in the file LICENSE in this distribution.
7
This software may not be copied, modified, sold or distributed
8
other than expressed in the named license agreement.
9
10
This software is distributed without any warranty.
11
*/
12
13
14
#ifndef EVENTHANDLER_H__
15
#define EVENTHANDLER_H__
16
17
namespace
gloox
18
{
19
20
class
Event;
21
28
class
EventHandler
29
{
30
31
public
:
35
virtual
~EventHandler
() {}
36
41
virtual
void
handleEvent
(
const
Event
& event ) = 0;
42
43
};
44
45
}
46
47
#endif // EVENTHANDLER_H__
gloox::Event
A base class for events.
Definition:
event.h:28
gloox::EventHandler
An base class for event handlers.
Definition:
eventhandler.h:28
gloox
The namespace for the gloox library.
Definition:
adhoc.cpp:27
gloox::EventHandler::~EventHandler
virtual ~EventHandler()
Definition:
eventhandler.h:35
gloox::EventHandler::handleEvent
virtual void handleEvent(const Event &event)=0
Generated on Sat Jul 16 2016 18:03:27 for gloox by
1.8.8