gloox
1.0.28
src
eventhandler.h
1
/*
2
Copyright (c) 2008-2023 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::EventHandler
An base class for event handlers.
Definition:
eventhandler.h:29
gloox::EventHandler::handleEvent
virtual void handleEvent(const Event &event)=0
gloox::EventHandler::~EventHandler
virtual ~EventHandler()
Definition:
eventhandler.h:35
gloox::Event
A base class for events.
Definition:
event.h:29
gloox
The namespace for the gloox library.
Definition:
adhoc.cpp:28
Generated on Wed Nov 22 2023 12:09:59 for gloox by
1.9.1