|
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 REMCONTRACKINFOCONTROLLEROBSERVER_H |
|
23 #define REMCONTRACKINFOCONTROLLEROBSERVER_H |
|
24 |
|
25 #include <e32base.h> |
|
26 |
|
27 /** |
|
28 Client-implemented mixin- notifies the client of incoming TrackInfo responses. |
|
29 */ |
|
30 class MRemConTrackInfoControllerObserver |
|
31 { |
|
32 public: |
|
33 /** |
|
34 A response to a 'set track name' command has been received. |
|
35 @param aError The response error. |
|
36 */ |
|
37 virtual void MrcticoSetTrackNameResponse(TInt aError); |
|
38 |
|
39 /** |
|
40 The following section of code is included to allow internal back to back |
|
41 testing of this component within Symbian Software Ltd. It will only be |
|
42 compiled in specially configured test builds. It will never be available |
|
43 in any release and so should never be used outside of Symbian owned test |
|
44 code. |
|
45 */ |
|
46 #ifdef SYMBIAN_ENABLE_TRACKINFO_BACKTOBACK_TEST_FUNCT |
|
47 /** |
|
48 This method is only available in specially configured test builds and will |
|
49 not be found in any released code. |
|
50 */ |
|
51 virtual void MrcticoGetTrackNameResponse(TInt aError, const TDesC& aTrackName); |
|
52 |
|
53 /** |
|
54 This method is only available in specially configured test builds and will |
|
55 not be found in any released code. |
|
56 */ |
|
57 virtual void MrcticoGetArtistResponse(TInt aError, const TDesC& aArtist); |
|
58 |
|
59 /** |
|
60 This method is only available in specially configured test builds and will |
|
61 not be found in any released code. |
|
62 */ |
|
63 virtual void MrcticoGetTrackDurationResponse(TInt aError, const TTime& aDuration); |
|
64 #endif //SYMBIAN_ENABLE_TRACKINFO_BACKTOBACK_TEST_FUNCT |
|
65 }; |
|
66 |
|
67 #endif // REMCONTRACKINFOCONTROLLEROBSERVER_H |