2015-05-03 22:32:37 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
2013-09-04 02:28:06 +04: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_fmradiorequestparent_h__
|
|
|
|
#define mozilla_dom_fmradiorequestparent_h__
|
|
|
|
|
|
|
|
#include "FMRadioCommon.h"
|
|
|
|
#include "mozilla/dom/PFMRadioRequestParent.h"
|
|
|
|
#include "FMRadioService.h"
|
|
|
|
|
|
|
|
BEGIN_FMRADIO_NAMESPACE
|
|
|
|
|
2015-03-21 19:28:04 +03:00
|
|
|
class FMRadioRequestParent final : public PFMRadioRequestParent
|
2015-03-27 21:52:19 +03:00
|
|
|
, public FMRadioReplyRunnable
|
2013-09-04 02:28:06 +04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
FMRadioRequestParent();
|
|
|
|
~FMRadioRequestParent();
|
|
|
|
|
2015-03-21 19:28:04 +03:00
|
|
|
virtual void ActorDestroy(ActorDestroyReason aWhy) override;
|
2013-09-04 02:28:06 +04:00
|
|
|
|
|
|
|
NS_IMETHOD Run();
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool mActorDestroyed;
|
|
|
|
};
|
|
|
|
|
|
|
|
END_FMRADIO_NAMESPACE
|
|
|
|
|
|
|
|
#endif // mozilla_dom_fmradiorequestparent_h__
|
|
|
|
|