content/media/omx/mediaresourcemanager/IMediaResourceManagerClient.h

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
     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 ANDROID_IMEDIARESOURCEMANAGERCLIENT_H
     8 #define ANDROID_IMEDIARESOURCEMANAGERCLIENT_H
    10 #include <utils/RefBase.h>
    11 #include <binder/IInterface.h>
    13 namespace android {
    15 // ----------------------------------------------------------------------------
    17 class IMediaResourceManagerClient : public IInterface
    18 {
    19 public:
    20     DECLARE_META_INTERFACE(MediaResourceManagerClient);
    22     // Notifies a change of media resource request status.
    23     virtual void statusChanged(int event) = 0;
    25 };
    28 // ----------------------------------------------------------------------------
    30 class BnMediaResourceManagerClient : public BnInterface<IMediaResourceManagerClient>
    31 {
    32 public:
    33     virtual status_t    onTransact( uint32_t code,
    34                                     const Parcel& data,
    35                                     Parcel* reply,
    36                                     uint32_t flags = 0);
    37 };
    39 // ----------------------------------------------------------------------------
    41 }; // namespace android
    43 #endif // ANDROID_IMEDIARESOURCEMANAGERCLIENT_H

mercurial