equal
deleted
inserted
replaced
30 #include "hbdevicedialogclientsession_p.h" |
30 #include "hbdevicedialogclientsession_p.h" |
31 #include <hbdevicedialogserverdefs_p.h> |
31 #include <hbdevicedialogserverdefs_p.h> |
32 #include <QEventLoop> |
32 #include <QEventLoop> |
33 #include <e32base.h> |
33 #include <e32base.h> |
34 |
34 |
35 const TInt KHbMessageBufferSize = 255; |
35 |
36 // |
36 // |
37 // W A R N I N G |
37 // W A R N I N G |
38 // ------------- |
38 // ------------- |
39 // |
39 // |
40 // This file is not part of the Hb API. It exists purely as an |
40 // This file is not part of the Hb API. It exists purely as an |
53 |
53 |
54 HbDeviceDialogPrivate(); |
54 HbDeviceDialogPrivate(); |
55 virtual ~HbDeviceDialogPrivate(); |
55 virtual ~HbDeviceDialogPrivate(); |
56 |
56 |
57 void init(HbDeviceDialog::DeviceDialogFlags f); |
57 void init(HbDeviceDialog::DeviceDialogFlags f); |
|
58 int connect(); |
58 int initialize(); |
59 int initialize(); |
59 bool show(const QString &deviceDialogType, const QVariantMap ¶meters); |
60 bool show(const QString &deviceDialogType, const QVariantMap ¶meters); |
60 bool update(const QVariantMap ¶meters); |
61 bool update(const QVariantMap ¶meters); |
61 bool cancel(); |
62 bool cancel(); |
62 bool waitForClosed(QEventLoop::ProcessEventsFlag flags); |
63 bool waitForClosed(QEventLoop::ProcessEventsFlag flags); |
87 |
88 |
88 QVariantMap mDataReceived; |
89 QVariantMap mDataReceived; |
89 int mLastError; |
90 int mLastError; |
90 CActiveSchedulerWait iWait; |
91 CActiveSchedulerWait iWait; |
91 TBool iRequesting; |
92 TBool iRequesting; |
92 |
93 TBool iConnecting; |
93 HbDeviceDialog::DeviceDialogFlags mDeviceDialogFlags; |
94 HbDeviceDialog::DeviceDialogFlags mDeviceDialogFlags; |
94 QEventLoop* mEventLoop; |
95 QEventLoop* mEventLoop; |
|
96 |
|
97 static HbDeviceDialogPrivate *d_ptr(HbDeviceDialog *dialog) { |
|
98 Q_ASSERT(dialog); |
|
99 return dialog->d_func(); |
|
100 } |
95 }; |
101 }; |
96 |
102 |
97 #endif // HBDEVICEDIALOGSYM_P_H |
103 #endif // HBDEVICEDIALOGSYM_P_H |