dom/fmradio/ipc/FMRadioParent.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
     2 /* vim: set ts=2 et sw=2 tw=80: */
     3 /* This Source Code Form is subject to the terms of the Mozilla Public
     4  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
     5  * You can obtain one at http://mozilla.org/MPL/2.0/. */
     7 #ifndef mozilla_dom_fmradioparent_h__
     8 #define mozilla_dom_fmradioparent_h__
    10 #include "FMRadioCommon.h"
    11 #include "mozilla/dom/PFMRadioParent.h"
    12 #include "mozilla/HalTypes.h"
    14 BEGIN_FMRADIO_NAMESPACE
    16 class PFMRadioRequestParent;
    18 class FMRadioParent MOZ_FINAL : public PFMRadioParent
    19                               , public FMRadioEventObserver
    20 {
    21 public:
    22   FMRadioParent();
    23   ~FMRadioParent();
    25   virtual bool
    26   RecvGetStatusInfo(StatusInfo* aStatusInfo) MOZ_OVERRIDE;
    28   virtual PFMRadioRequestParent*
    29   AllocPFMRadioRequestParent(const FMRadioRequestArgs& aArgs) MOZ_OVERRIDE;
    31   virtual bool
    32   DeallocPFMRadioRequestParent(PFMRadioRequestParent* aActor) MOZ_OVERRIDE;
    34   /* FMRadioEventObserver */
    35   virtual void Notify(const FMRadioEventType& aType) MOZ_OVERRIDE;
    37   virtual bool
    38   RecvEnableAudio(const bool& aAudioEnabled) MOZ_OVERRIDE;
    39 };
    41 END_FMRADIO_NAMESPACE
    43 #endif // mozilla_dom_fmradioparent_h__

mercurial