diff -r 000000000000 -r 4e1aa6a622a0 accessoryservices/remotecontrolfw/client/extapi1/public/remcontrackinfotargetobserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/accessoryservices/remotecontrolfw/client/extapi1/public/remcontrackinfotargetobserver.h Tue Feb 02 00:53:00 2010 +0200 @@ -0,0 +1,64 @@ +// 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 + +/** +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