2014-07-01 03:37:32 -07:00
|
|
|
/* 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_mobileconnection_MobileConnectionIPCService_h
|
|
|
|
#define mozilla_dom_mobileconnection_MobileConnectionIPCService_h
|
|
|
|
|
|
|
|
#include "nsCOMPtr.h"
|
2014-09-16 06:20:17 -07:00
|
|
|
#include "mozilla/dom/mobileconnection/MobileConnectionChild.h"
|
2014-07-01 03:37:32 -07:00
|
|
|
#include "nsIMobileConnectionService.h"
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
namespace mobileconnection {
|
|
|
|
|
|
|
|
class MobileConnectionIPCService MOZ_FINAL : public nsIMobileConnectionService
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSIMOBILECONNECTIONSERVICE
|
|
|
|
|
|
|
|
MobileConnectionIPCService();
|
|
|
|
|
2014-09-16 06:20:24 -07:00
|
|
|
private:
|
2014-09-16 06:20:18 -07:00
|
|
|
// MOZ_FINAL suppresses -Werror,-Wdelete-non-virtual-dtor
|
2014-07-01 03:37:32 -07:00
|
|
|
~MobileConnectionIPCService();
|
|
|
|
|
2014-09-16 06:20:18 -07:00
|
|
|
nsTArray<nsRefPtr<MobileConnectionChild>> mItems;
|
2014-07-01 03:37:32 -07:00
|
|
|
};
|
|
|
|
|
2014-09-16 06:20:17 -07:00
|
|
|
} // namespace mobileconnection
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|
2014-07-01 03:37:32 -07:00
|
|
|
|
|
|
|
#endif // mozilla_dom_mobileconnection_MobileConnectionIPCService_h
|