Changeset View
Changeset View
Standalone View
Standalone View
src/pendingcall.cpp
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Line(s) | 47 | #define FROM_BLUEZ_ERROR(string, value) \ | |||
---|---|---|---|---|---|
62 | FROM_BLUEZ_ERROR("NotConnected", PendingCall::NotConnected); | 62 | FROM_BLUEZ_ERROR("NotConnected", PendingCall::NotConnected); | ||
63 | FROM_BLUEZ_ERROR("NotSupported", PendingCall::NotSupported); | 63 | FROM_BLUEZ_ERROR("NotSupported", PendingCall::NotSupported); | ||
64 | FROM_BLUEZ_ERROR("NotAuthorized", PendingCall::NotAuthorized); | 64 | FROM_BLUEZ_ERROR("NotAuthorized", PendingCall::NotAuthorized); | ||
65 | FROM_BLUEZ_ERROR("AuthenticationCanceled", PendingCall::AuthenticationCanceled); | 65 | FROM_BLUEZ_ERROR("AuthenticationCanceled", PendingCall::AuthenticationCanceled); | ||
66 | FROM_BLUEZ_ERROR("AuthenticationFailed", PendingCall::AuthenticationFailed); | 66 | FROM_BLUEZ_ERROR("AuthenticationFailed", PendingCall::AuthenticationFailed); | ||
67 | FROM_BLUEZ_ERROR("AuthenticationRejected", PendingCall::AuthenticationRejected); | 67 | FROM_BLUEZ_ERROR("AuthenticationRejected", PendingCall::AuthenticationRejected); | ||
68 | FROM_BLUEZ_ERROR("AuthenticationTimeout", PendingCall::AuthenticationTimeout); | 68 | FROM_BLUEZ_ERROR("AuthenticationTimeout", PendingCall::AuthenticationTimeout); | ||
69 | FROM_BLUEZ_ERROR("ConnectionAttemptFailed", PendingCall::ConnectionAttemptFailed); | 69 | FROM_BLUEZ_ERROR("ConnectionAttemptFailed", PendingCall::ConnectionAttemptFailed); | ||
70 | FROM_BLUEZ_ERROR("InvalidLength", PendingCall::InvalidLength); | ||||
71 | FROM_BLUEZ_ERROR("NotPermitted", PendingCall::NotPermitted); | ||||
70 | #undef FROM_BLUEZ_ERROR | 72 | #undef FROM_BLUEZ_ERROR | ||
71 | 73 | | |||
72 | return PendingCall::UnknownError; | 74 | return PendingCall::UnknownError; | ||
73 | } | 75 | } | ||
74 | 76 | | |||
75 | class PendingCallPrivate : public QObject | 77 | class PendingCallPrivate : public QObject | ||
76 | { | 78 | { | ||
77 | public: | 79 | public: | ||
▲ Show 20 Lines • Show All 240 Lines • Show Last 20 Lines |