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 file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef mozilla_dom_TelephonyCallback_h
6 #define mozilla_dom_TelephonyCallback_h
10 #include "nsITelephonyService.h"
19 class TelephonyCallback
: public nsITelephonyCallback
23 NS_DECL_NSITELEPHONYCALLBACK
25 explicit TelephonyCallback(Promise
* aPromise
);
28 virtual ~TelephonyCallback() {}
31 nsRefPtr
<Promise
> mPromise
;
34 } // namespace telephony
36 } // namespace mozilla
38 #endif // mozilla_dom_TelephonyCallback_h