Bumping manifests a=b2g-bump
[gecko.git] / dom / mobilemessage / Constants.h
blobb5e5ad1083f4dec0510e267b199245e4f2bb309f
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef mozilla_dom_mobilemessage_Constants_h
7 #define mozilla_dom_mobilemessage_Constants_h
9 namespace mozilla {
10 namespace dom {
11 namespace mobilemessage {
13 // Defined in the .cpp.
14 extern const char* kSmsReceivedObserverTopic;
15 extern const char* kSmsRetrievingObserverTopic;
16 extern const char* kSmsSendingObserverTopic;
17 extern const char* kSmsSentObserverTopic;
18 extern const char* kSmsFailedObserverTopic;
19 extern const char* kSmsDeliverySuccessObserverTopic;
20 extern const char* kSmsDeliveryErrorObserverTopic;
21 extern const char* kSilentSmsReceivedObserverTopic;
22 extern const char* kSmsReadSuccessObserverTopic;
23 extern const char* kSmsReadErrorObserverTopic;
24 extern const char* kSmsDeletedObserverTopic;
26 #define DELIVERY_RECEIVED NS_LITERAL_STRING("received")
27 #define DELIVERY_SENDING NS_LITERAL_STRING("sending")
28 #define DELIVERY_SENT NS_LITERAL_STRING("sent")
29 #define DELIVERY_ERROR NS_LITERAL_STRING("error")
30 #define DELIVERY_NOT_DOWNLOADED NS_LITERAL_STRING("not-downloaded")
32 #define DELIVERY_STATUS_NOT_APPLICABLE NS_LITERAL_STRING("not-applicable")
33 #define DELIVERY_STATUS_SUCCESS NS_LITERAL_STRING("success")
34 #define DELIVERY_STATUS_PENDING NS_LITERAL_STRING("pending")
35 #define DELIVERY_STATUS_ERROR NS_LITERAL_STRING("error")
36 #define DELIVERY_STATUS_REJECTED NS_LITERAL_STRING("rejected")
37 #define DELIVERY_STATUS_MANUAL NS_LITERAL_STRING("manual")
39 #define READ_STATUS_NOT_APPLICABLE NS_LITERAL_STRING("not-applicable")
40 #define READ_STATUS_SUCCESS NS_LITERAL_STRING("success")
41 #define READ_STATUS_PENDING NS_LITERAL_STRING("pending")
42 #define READ_STATUS_ERROR NS_LITERAL_STRING("error")
44 #define MESSAGE_CLASS_NORMAL NS_LITERAL_STRING("normal")
45 #define MESSAGE_CLASS_CLASS_0 NS_LITERAL_STRING("class-0")
46 #define MESSAGE_CLASS_CLASS_1 NS_LITERAL_STRING("class-1")
47 #define MESSAGE_CLASS_CLASS_2 NS_LITERAL_STRING("class-2")
48 #define MESSAGE_CLASS_CLASS_3 NS_LITERAL_STRING("class-3")
50 #define MESSAGE_TYPE_SMS NS_LITERAL_STRING("sms")
51 #define MESSAGE_TYPE_MMS NS_LITERAL_STRING("mms")
53 } // namespace mobilemessage
54 } // namespace dom
55 } // namespace mozilla
57 #endif // mozilla_dom_mobilemessage_Constants_h