glooxd
0.3-svn
Main Page
Namespaces
Classes
Files
File List
src
rostermanager.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 ROSTERMANAGER_H__
15
#define ROSTERMANAGER_H__
16
17
#include "glooxd.h"
18
#include "plugin.h"
19
20
#include <gloox/tag.h>
21
22
namespace
gloox
23
{
24
class
JID;
25
class
Tag;
26
}
27
28
namespace
glooxd
29
{
30
31
class
RosterProvider;
32
40
class
GLOOXD_API
RosterManager
:
public
Plugin
41
{
42
public
:
49
RosterManager
(
SM
& sm,
TagHandler
& router,
RosterProvider
* rp );
50
54
virtual
~
RosterManager
();
55
56
// reimplemented from Plugin
57
virtual
bool
handleTag(
const
gloox::Tag* tag );
58
59
// reimplemented from Plugin
60
virtual
const
std::string& filterString()
const
;
61
62
private
:
63
const
gloox::TagList getRoster(
const
gloox::JID& jid );
64
65
RosterProvider
* m_handler;
66
67
};
68
69
}
70
71
#endif // ROSTERMANAGER_H__
Generated on Wed Aug 28 2013 16:09:27 for glooxd by
1.8.1.2