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_fmradiorequestchild_h__
|
|
|
|
#define mozilla_dom_fmradiorequestchild_h__
|
|
|
|
|
|
|
|
#include "FMRadioCommon.h"
|
|
|
|
#include "mozilla/dom/PFMRadioRequestChild.h"
|
|
|
|
#include "DOMRequest.h"
|
|
|
|
|
|
|
|
BEGIN_FMRADIO_NAMESPACE
|
|
|
|
|
2013-08-30 10:16:49 +04:00
|
|
|
class FMRadioReplyRunnable;
|
2013-09-04 02:28:06 +04:00
|
|
|
|
2015-03-21 19:28:04 +03:00
|
|
|
class FMRadioRequestChild final : public PFMRadioRequestChild
|
2013-09-04 02:28:06 +04:00
|
|
|
{
|
|
|
|
public:
|
2013-08-30 10:16:49 +04:00
|
|
|
FMRadioRequestChild(FMRadioReplyRunnable* aReplyRunnable);
|
2013-09-04 02:28:06 +04:00
|
|
|
~FMRadioRequestChild();
|
|
|
|
|
|
|
|
virtual bool
|
2015-03-21 19:28:04 +03:00
|
|
|
Recv__delete__(const FMRadioResponseType& aResponse) override;
|
2013-09-04 02:28:06 +04:00
|
|
|
|
|
|
|
private:
|
2013-08-30 10:16:49 +04:00
|
|
|
nsRefPtr<FMRadioReplyRunnable> mReplyRunnable;
|
2013-09-04 02:28:06 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
END_FMRADIO_NAMESPACE
|
|
|
|
|
|
|
|
#endif // mozilla_dom_fmradiorequestchild_h__
|
|
|
|
|