DBus-C++
Desktop Communication Bus System
Summary
Download
Tracker
Mailing Lists
Wiki
libdbus-c++ Documentation
0.9.0
Files
Data Structures
Globals
Main Page
include
dbus-c++
pendingcall.h
Go to the documentation of this file.
1
/*
2
*
3
* D-Bus++ - C++ bindings for D-Bus
4
*
5
* Copyright (C) 2005-2007 Paolo Durante <shackan@gmail.com>
6
*
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2.1 of the License, or (at your option) any later version.
12
*
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
*
22
*/
23
24
25
#ifndef __DBUSXX_PENDING_CALL_H
26
#define __DBUSXX_PENDING_CALL_H
27
28
#include "
api.h
"
29
#include "
util.h
"
30
#include "
message.h
"
31
32
namespace
DBus
33
{
34
35
class
Connection;
36
37
class
DXXAPI
PendingCall
38
{
39
public
:
40
41
struct
Private;
42
43
PendingCall(Private *);
44
45
PendingCall(
const
PendingCall &);
46
47
virtual
~PendingCall();
48
49
PendingCall &operator = (
const
PendingCall &);
50
56
bool
completed();
57
72
void
cancel();
73
83
void
block();
84
95
void
data(
void
*data);
96
104
void
*data();
105
109
Slot<void, PendingCall &>& slot();
110
121
Message steal_reply();
122
123
private
:
124
125
RefPtrI<Private>
_pvt
;
126
127
friend
struct
Private;
128
friend
class
Connection
;
129
};
130
131
}
/* namespace DBus */
132
133
#endif//__DBUSXX_PENDING_CALL_H
DBus::RefPtrI< Private >
DBus
Definition:
connection_p.h:41
DBus::PendingCall::_pvt
RefPtrI< Private > _pvt
Definition:
pendingcall.h:125
DXXAPI
#define DXXAPI
Definition:
api.h:36
message.h
DBus::Connection
Definition:
connection_p.h:44
util.h
api.h