gloox  1.0.27
linklocalhandler.h
1 /*
2  Copyright (c) 2012-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 #ifndef LINKLOCALHANDLER_H__
14 #define LINKLOCALHANDLER_H__
15 
16 #ifdef HAVE_MDNS
17 
18 #include "linklocal.h"
19 #include "macros.h"
20 #include "gloox.h"
21 
22 #include <string>
23 
24 namespace gloox
25 {
26 
27  namespace LinkLocal
28  {
29 
30 // class Client;
31 
41  class GLOOX_API Handler
42  {
43  public:
51  virtual void handleBrowseReply( const ServiceList& services ) = 0;
52 
53 // /**
54 // *
55 // */
56 // virtual void handleClient( Client* client ) = 0;
57 
58  };
59 
60  }
61 
62 }
63 
64 #endif // HAVE_MDNS
65 
66 #endif // LINKLOCALHANDLER_H__
A base class that gets informed about advertised or removed XMPP services on the local network.
virtual void handleBrowseReply(const ServiceList &services)=0
std::list< Service > ServiceList
Definition: linklocal.h:71
The namespace for the gloox library.
Definition: adhoc.cpp:28