00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _TelepathyQt4_cli_pending_ready_channel_h_HEADER_GUARD_
00023 #define _TelepathyQt4_cli_pending_ready_channel_h_HEADER_GUARD_
00024
00025 #ifndef IN_TELEPATHY_QT4_HEADER
00026 #error IN_TELEPATHY_QT4_HEADER
00027 #endif
00028
00029 #include <TelepathyQt4/Client/Channel>
00030 #include <TelepathyQt4/Client/PendingOperation>
00031
00032 class QDBusPendingCallWatcher;
00033
00034 namespace Telepathy
00035 {
00036 namespace Client
00037 {
00038
00039 class PendingReadyChannel : public PendingOperation
00040 {
00041 Q_OBJECT
00042
00043 public:
00044 ~PendingReadyChannel();
00045
00046 Channel *channel() const;
00047 Channel::Features requestedFeatures() const;
00048
00049 private:
00050 Q_DISABLE_COPY(PendingReadyChannel);
00051 PendingReadyChannel(Channel::Features requestedFeatures, Channel *channel);
00052
00053 struct Private;
00054 friend struct Private;
00055 friend class Channel;
00056 friend class TextChannel;
00057 Private *mPriv;
00058 };
00059
00060 }
00061 }
00062
00063 #endif