gloox
1.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
src
bookmarkhandler.h
1
/*
2
Copyright (c) 2005-2009 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 "macros.h"
19
20
#include <string>
21
#include <list>
22
23
namespace
gloox
24
{
25
29
struct
BookmarkListItem
30
{
31
std::string
name
;
32
std::string
url
;
33
};
34
38
struct
ConferenceListItem
39
{
40
std::string
name
;
41
std::string
jid
;
42
std::string
nick
;
43
std::string
password
;
44
bool
autojoin
;
45
};
46
50
typedef
std::list<BookmarkListItem>
BookmarkList
;
51
55
typedef
std::list<ConferenceListItem>
ConferenceList
;
56
64
class
GLOOX_API
BookmarkHandler
65
{
66
public
:
70
virtual
~BookmarkHandler
() {}
71
77
virtual
void
handleBookmarks(
const
BookmarkList
&bList,
const
ConferenceList
&cList ) = 0;
78
};
79
80
}
81
82
#endif // BOOKMARKHANDLER_H__
Generated on Thu Jun 27 2013 13:02:35 for gloox by
1.8.1.2