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