gloox
0.9.9.12
Main Page
Related Pages
Namespaces
Classes
Files
File List
src
bookmarkhandler.h
1
/*
2
Copyright (c) 2005-2008 by Jakob Schroeter <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
15
#ifndef BOOKMARKHANDLER_H__
16
#define BOOKMARKHANDLER_H__
17
18
#include <string>
19
#include <list>
20
21
namespace
gloox
22
{
23
27
struct
BookmarkListItem
28
{
29
std::string
name
;
30
std::string
url
;
31
};
32
36
struct
ConferenceListItem
37
{
38
std::string
name
;
39
std::string
jid
;
40
std::string
nick
;
41
std::string
password
;
42
bool
autojoin
;
43
};
44
48
typedef
std::list<BookmarkListItem>
BookmarkList
;
49
53
typedef
std::list<ConferenceListItem>
ConferenceList
;
54
62
class
GLOOX_API
BookmarkHandler
63
{
64
public
:
68
virtual
~BookmarkHandler
() {}
69
75
virtual
void
handleBookmarks(
const
BookmarkList
&bList,
const
ConferenceList
&cList ) = 0;
76
};
77
78
}
79
80
#endif // BOOKMARKHANDLER_H__
Generated on Thu Jun 27 2013 13:05:48 for gloox by
1.8.1.2