Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | #ifndef mozilla_dom_mobilemessage_Constants_h |
michael@0 | 7 | #define mozilla_dom_mobilemessage_Constants_h |
michael@0 | 8 | |
michael@0 | 9 | namespace mozilla { |
michael@0 | 10 | namespace dom { |
michael@0 | 11 | namespace mobilemessage { |
michael@0 | 12 | |
michael@0 | 13 | // Defined in the .cpp. |
michael@0 | 14 | extern const char* kSmsReceivedObserverTopic; |
michael@0 | 15 | extern const char* kSmsRetrievingObserverTopic; |
michael@0 | 16 | extern const char* kSmsSendingObserverTopic; |
michael@0 | 17 | extern const char* kSmsSentObserverTopic; |
michael@0 | 18 | extern const char* kSmsFailedObserverTopic; |
michael@0 | 19 | extern const char* kSmsDeliverySuccessObserverTopic; |
michael@0 | 20 | extern const char* kSmsDeliveryErrorObserverTopic; |
michael@0 | 21 | extern const char* kSilentSmsReceivedObserverTopic; |
michael@0 | 22 | extern const char* kSmsReadSuccessObserverTopic; |
michael@0 | 23 | extern const char* kSmsReadErrorObserverTopic; |
michael@0 | 24 | |
michael@0 | 25 | #define DELIVERY_RECEIVED NS_LITERAL_STRING("received") |
michael@0 | 26 | #define DELIVERY_SENDING NS_LITERAL_STRING("sending") |
michael@0 | 27 | #define DELIVERY_SENT NS_LITERAL_STRING("sent") |
michael@0 | 28 | #define DELIVERY_ERROR NS_LITERAL_STRING("error") |
michael@0 | 29 | #define DELIVERY_NOT_DOWNLOADED NS_LITERAL_STRING("not-downloaded") |
michael@0 | 30 | |
michael@0 | 31 | #define DELIVERY_STATUS_NOT_APPLICABLE NS_LITERAL_STRING("not-applicable") |
michael@0 | 32 | #define DELIVERY_STATUS_SUCCESS NS_LITERAL_STRING("success") |
michael@0 | 33 | #define DELIVERY_STATUS_PENDING NS_LITERAL_STRING("pending") |
michael@0 | 34 | #define DELIVERY_STATUS_ERROR NS_LITERAL_STRING("error") |
michael@0 | 35 | #define DELIVERY_STATUS_REJECTED NS_LITERAL_STRING("rejected") |
michael@0 | 36 | #define DELIVERY_STATUS_MANUAL NS_LITERAL_STRING("manual") |
michael@0 | 37 | |
michael@0 | 38 | #define READ_STATUS_NOT_APPLICABLE NS_LITERAL_STRING("not-applicable") |
michael@0 | 39 | #define READ_STATUS_SUCCESS NS_LITERAL_STRING("success") |
michael@0 | 40 | #define READ_STATUS_PENDING NS_LITERAL_STRING("pending") |
michael@0 | 41 | #define READ_STATUS_ERROR NS_LITERAL_STRING("error") |
michael@0 | 42 | |
michael@0 | 43 | #define MESSAGE_CLASS_NORMAL NS_LITERAL_STRING("normal") |
michael@0 | 44 | #define MESSAGE_CLASS_CLASS_0 NS_LITERAL_STRING("class-0") |
michael@0 | 45 | #define MESSAGE_CLASS_CLASS_1 NS_LITERAL_STRING("class-1") |
michael@0 | 46 | #define MESSAGE_CLASS_CLASS_2 NS_LITERAL_STRING("class-2") |
michael@0 | 47 | #define MESSAGE_CLASS_CLASS_3 NS_LITERAL_STRING("class-3") |
michael@0 | 48 | |
michael@0 | 49 | #define MESSAGE_TYPE_SMS NS_LITERAL_STRING("sms") |
michael@0 | 50 | #define MESSAGE_TYPE_MMS NS_LITERAL_STRING("mms") |
michael@0 | 51 | |
michael@0 | 52 | } // namespace mobilemessage |
michael@0 | 53 | } // namespace dom |
michael@0 | 54 | } // namespace mozilla |
michael@0 | 55 | |
michael@0 | 56 | #endif // mozilla_dom_mobilemessage_Constants_h |