23 #ifndef _TelepathyQt_simple_stream_tube_handler_h_HEADER_GUARD_
24 #define _TelepathyQt_simple_stream_tube_handler_h_HEADER_GUARD_
26 #include <TelepathyQt/AbstractClientHandler>
27 #include <TelepathyQt/ChannelRequestHints>
28 #include <TelepathyQt/RefCounted>
29 #include <TelepathyQt/Types>
32 #include <QLinkedList>
40 class PendingOperation;
53 bool monitorConnections,
54 bool bypassApproval =
false);
59 return mMonitorConnections;
64 return mBypassApproval;
67 void handleChannels(
const MethodInvocationContextPtr<> &context,
68 const AccountPtr &account,
69 const ConnectionPtr &connection,
73 const HandlerInfo &handlerInfo);
77 const Tp::AccountPtr &account,
78 const Tp::StreamTubeChannelPtr &tube,
82 const Tp::AccountPtr &account,
83 const Tp::StreamTubeChannelPtr &tube,
96 bool monitorConnections,
99 bool mMonitorConnections;
102 InvocationData() : readyOp(0) {}
104 PendingOperation *readyOp;
107 MethodInvocationContextPtr<> ctx;
111 ChannelRequestHints hints;
115 bool mBypassApproval;
The ChannelRequestHints class represents a dictionary of metadata provided by the channel requester w...
Definition: channel-request.h:121
Definition: simple-stream-tube-handler.h:42
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The AbstractClientHandler class represents a Telepathy handler.
Definition: abstract-client.h:140
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39
bool monitorsConnections() const
Definition: simple-stream-tube-handler.h:57
bool bypassApproval() const
Definition: simple-stream-tube-handler.h:62
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
Definition: abstract-adaptor.cpp:31