diff -r 000000000000 -r 6474c204b198 dom/mobilemessage/src/gonk/SmsService.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dom/mobilemessage/src/gonk/SmsService.h Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,40 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#ifndef mozilla_dom_mobilemessage_SmsService_h +#define mozilla_dom_mobilemessage_SmsService_h + +#include "nsISmsService.h" +#include "nsCOMPtr.h" +#include "nsIObserver.h" +#include "nsIRadioInterfaceLayer.h" +#include "nsTArray.h" +#include "nsString.h" +#include "mozilla/Attributes.h" + +namespace mozilla { +namespace dom { +namespace mobilemessage { + +class SmsService MOZ_FINAL : public nsISmsService + , public nsIObserver +{ +public: + NS_DECL_ISUPPORTS + NS_DECL_NSISMSSERVICE + NS_DECL_NSIOBSERVER + + SmsService(); + +protected: + nsCOMPtr mRil; + nsTArray mSilentNumbers; + uint32_t mDefaultServiceId; +}; + +} // namespace mobilemessage +} // namespace dom +} // namespace mozilla + +#endif // mozilla_dom_mobilemessage_SmsService_h