2
Copyright (c) 2012-2013 by Jakob Schroeter <js@camaya.net>
3
This file is part of the gloox library. http://camaya.net/gloox
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.
10
This software is distributed without any warranty.
13
#ifndef LINKLOCALHANDLER_H__
14
#define LINKLOCALHANDLER_H__
18
#include "linklocal.h"
33
* @brief A base class that gets informed about advertised or removed XMPP services on the local network.
35
* See @ref gloox::LinkLocal::Manager for more information on how to implement
36
* link-local messaging.
38
* @author Jakob Schroeter <js@camaya.net>
41
class GLOOX_API Handler
45
* Reimplement this function to be notified about services available on (or removed from)
47
* @param services A list of services.
48
* @note Make a copy of the service list as the list will not be valid after the function
51
virtual void handleBrowseReply( const ServiceList& services ) = 0;
56
// virtual void handleClient( Client* client ) = 0;
66
#endif // LINKLOCALHANDLER_H__