diff -r 22de2e391156 -r 20ac952a623c remotecontrol/avrcp/mediainformationapi/public/remconmediainformationtargetobserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remotecontrol/avrcp/mediainformationapi/public/remconmediainformationtargetobserver.h Wed Oct 13 16:20:29 2010 +0300 @@ -0,0 +1,49 @@ +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +/** + @file + @publishedAll + @released +*/ + +#ifndef REMCONMEDIAINFORMATIONTARGETOBSERVER_H +#define REMCONMEDIAINFORMATIONTARGETOBSERVER_H + +#include +#include + +/** +Clients must implement this interface in order to instantiate objects of type +CRemConMediaInformationTarget. This interface passes incoming commands from RemCon to +the client. +*/ +NONSHARABLE_CLASS(MRemConMediaInformationTargetObserver) + { +public: + + /** + For each element in aAttributeList for which the requested Metadata is available, + the client shall respond by calling CRemConMediaInformationTarget::AttributeValue(). + After all attributes have been supplied the client shall call CRemConMediaInformationTarget::Completed(). + @param aAttributeIter A CMediaAttributeIDs containing a list of TMediaAttributeIds requested by the controller + @see CRemConMediaInformationTarget::AttributeValue() + @see CRemConMediaInformationTarget::Completed() + */ + virtual void MrcmitoGetCurrentlyPlayingMetadata( TMediaAttributeIter& aAttributeIter ) = 0; + + }; + +#endif // REMCONMEDIAINFORMATIONTARGETOBSERVER_H