gloox
1.0.22
src
bookmarkhandler.h
1
/*
2
Copyright (c) 2005-2017 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
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__
gloox::BookmarkList
std::list< BookmarkListItem > BookmarkList
Definition:
bookmarkhandler.h:50
gloox::BookmarkListItem::name
std::string name
Definition:
bookmarkhandler.h:31
gloox::BookmarkHandler::~BookmarkHandler
virtual ~BookmarkHandler()
Definition:
bookmarkhandler.h:70
gloox::ConferenceListItem::jid
std::string jid
Definition:
bookmarkhandler.h:41
gloox::BookmarkHandler
A virtual interface which can be reimplemented to receive bookmarks with help of a BookmarkStorage ob...
Definition:
bookmarkhandler.h:64
gloox
The namespace for the gloox library.
Definition:
adhoc.cpp:27
gloox::ConferenceList
std::list< ConferenceListItem > ConferenceList
Definition:
bookmarkhandler.h:55
gloox::BookmarkListItem::url
std::string url
Definition:
bookmarkhandler.h:32
gloox::ConferenceListItem::nick
std::string nick
Definition:
bookmarkhandler.h:42
gloox::ConferenceListItem::autojoin
bool autojoin
Definition:
bookmarkhandler.h:44
gloox::ConferenceListItem
Definition:
bookmarkhandler.h:38
gloox::ConferenceListItem::name
std::string name
Definition:
bookmarkhandler.h:40
gloox::BookmarkListItem
Definition:
bookmarkhandler.h:29
gloox::ConferenceListItem::password
std::string password
Definition:
bookmarkhandler.h:43
Generated on Mon Apr 25 2022 14:03:04 for gloox by
1.8.17