1 remcontrackinfotargetobserver.h |
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 |
|
18 /** |
|
19 @file |
|
20 @publishedAll |
|
21 @released |
|
22 */ |
|
23 |
|
24 #ifndef REMCONTRACKINFOTARGETOBSERVER_H |
|
25 #define REMCONTRACKINFOTARGETOBSERVER_H |
|
26 |
|
27 #include <e32base.h> |
|
28 |
|
29 /** |
|
30 Client-implemented mixin- notifies the client of incoming TrackInfo commands. |
|
31 */ |
|
32 class MRemConTrackInfoTargetObserver |
|
33 { |
|
34 public: |
|
35 /** |
|
36 A 'get track name' command has been received. |
|
37 */ |
|
38 virtual void MrctitoGetTrackName(); |
|
39 |
|
40 /** |
|
41 A 'get artist' command has been received. |
|
42 */ |
|
43 virtual void MrctitoGetArtist(); |
|
44 |
|
45 /** |
|
46 A 'get track duration' command has been received. |
|
47 */ |
|
48 virtual void MrctitoGetTrackDuration(); |
|
49 |
|
50 /** |
|
51 The following section of code is included to allow internal back to back |
|
52 testing of this component within Symbian Software Ltd. It will only be |
|
53 compiled in specially configured test builds. It will never be available |
|
54 in any release and so should never be used outside of Symbian owned test |
|
55 code. |
|
56 */ |
|
57 #ifdef SYMBIAN_ENABLE_TRACKINFO_BACKTOBACK_TEST_FUNCT |
|
58 /** |
|
59 This method is only available in specially configured test builds and will |
|
60 not be found in any released code. |
|
61 @internalTechnology |
|
62 */ |
|
63 virtual void MrctitoSetTrackName(const TDesC& aTrackName); |
|
64 #endif //SYMBIAN_ENABLE_TRACKINFO_BACKTOBACK_TEST_FUNCT |
|
65 }; |
|
66 |
|
67 #endif // REMCONTRACKINFOTARGETOBSERVER_H |