glooxd  0.3-svn
discomanager.h
1 /*
2  Copyright (c) 2009 by Jakob Schroeter <js@camaya.net>
3  This file is part of the glooxd library. http://camaya.net/glooxd
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 DISCOMANAGER_H__
15 #define DISCOMANAGER_H__
16 
17 #include "glooxd.h"
18 #include "plugin.h"
19 
20 namespace gloox
21 {
22  class JID;
23  class Tag;
24 }
25 
26 namespace glooxd
27 {
28 
35  class GLOOXD_API DiscoManager : public Plugin
36  {
37  public:
43  DiscoManager( SM& sm, TagHandler& router );
44 
48  virtual ~DiscoManager();
49 
50  // reimplemented from Plugin
51  virtual bool handleTag( const gloox::Tag* tag );
52 
53  // reimplemented from Plugin
54  virtual const std::string& filterString() const;
55 
56  private:
57 
58  };
59 
60 }
61 
62 #endif // DISCOMANAGER_H__