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.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef mozilla_dom_mobilemessage_SmsService_h
6 #define mozilla_dom_mobilemessage_SmsService_h
8 #include "nsISmsService.h"
9 #include "nsCOMPtr.h"
10 #include "nsIObserver.h"
11 #include "nsIRadioInterfaceLayer.h"
12 #include "nsTArray.h"
13 #include "nsString.h"
14 #include "mozilla/Attributes.h"
16 namespace mozilla {
17 namespace dom {
18 namespace mobilemessage {
20 class SmsService MOZ_FINAL : public nsISmsService
21 , public nsIObserver
22 {
23 public:
24 NS_DECL_ISUPPORTS
25 NS_DECL_NSISMSSERVICE
26 NS_DECL_NSIOBSERVER
28 SmsService();
30 protected:
31 nsCOMPtr<nsIRadioInterfaceLayer> mRil;
32 nsTArray<nsString> mSilentNumbers;
33 uint32_t mDefaultServiceId;
34 };
36 } // namespace mobilemessage
37 } // namespace dom
38 } // namespace mozilla
40 #endif // mozilla_dom_mobilemessage_SmsService_h