michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* vim:set ts=2 sw=2 sts=2 et cindent: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef ANDROID_IMEDIARESOURCEMANAGERCLIENT_H michael@0: #define ANDROID_IMEDIARESOURCEMANAGERCLIENT_H michael@0: michael@0: #include michael@0: #include michael@0: michael@0: namespace android { michael@0: michael@0: // ---------------------------------------------------------------------------- michael@0: michael@0: class IMediaResourceManagerClient : public IInterface michael@0: { michael@0: public: michael@0: DECLARE_META_INTERFACE(MediaResourceManagerClient); michael@0: michael@0: // Notifies a change of media resource request status. michael@0: virtual void statusChanged(int event) = 0; michael@0: michael@0: }; michael@0: michael@0: michael@0: // ---------------------------------------------------------------------------- michael@0: michael@0: class BnMediaResourceManagerClient : public BnInterface michael@0: { michael@0: public: michael@0: virtual status_t onTransact( uint32_t code, michael@0: const Parcel& data, michael@0: Parcel* reply, michael@0: uint32_t flags = 0); michael@0: }; michael@0: michael@0: // ---------------------------------------------------------------------------- michael@0: michael@0: }; // namespace android michael@0: michael@0: #endif // ANDROID_IMEDIARESOURCEMANAGERCLIENT_H