accessoryservices/remotecontrolfw/client/extapi1/public/remcontrackinfotargetobserver.h
author Peter Fordham <peter.fordham@gmail.com>
Sun, 23 May 2010 17:54:58 -0700
branchCompilerCompatibility
changeset 26 4b9f782dce8f
parent 0 4e1aa6a622a0
permissions -rw-r--r--
Bug 1782 - GCC-E compilation error. Make friends with whole classes instead of private and protected methods.

// Copyright (c) 2004-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 REMCONTRACKINFOTARGETOBSERVER_H
#define REMCONTRACKINFOTARGETOBSERVER_H

#include <e32base.h>

/**
Client-implemented mixin- notifies the client of incoming TrackInfo commands.
*/
class MRemConTrackInfoTargetObserver
	{
public:
	/**
	A 'get track name' command has been received.
	*/
	IMPORT_C virtual void MrctitoGetTrackName();

	/**
	A 'get artist' command has been received.
	*/
	IMPORT_C virtual void MrctitoGetArtist();

	/**
	A 'get track duration' command has been received. 
	*/
	IMPORT_C virtual void MrctitoGetTrackDuration();
	
/**
The following section of code is included to allow internal back to back 
testing of this component within Symbian Software Ltd. It will only be 
compiled in specially configured test builds. It will never be available 
in any release and so should never be used outside of Symbian owned test 
code.
*/
#ifdef SYMBIAN_ENABLE_TRACKINFO_BACKTOBACK_TEST_FUNCT
	/**
	This method is only available in specially configured test builds and will 
	not be found in any released code. 
	*/
	IMPORT_C virtual void MrctitoSetTrackName(const TDesC& aTrackName);	
#endif //SYMBIAN_ENABLE_TRACKINFO_BACKTOBACK_TEST_FUNCT
	};

#endif // REMCONTRACKINFOTARGETOBSERVER_H