1 // Copyright (c) 2010 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 @internalComponent |
|
19 */ |
|
20 |
|
21 #ifndef CMTPPBCSKIP_H |
|
22 #define CMTPPBCSKIP_H |
|
23 |
|
24 #include "cmtprequestprocessor.h" |
|
25 #include "mmtpplaybackinterface.h" |
|
26 |
|
27 class CMTPPlaybackCommand; |
|
28 class CMTPPlaybackControlDataProvider; |
|
29 |
|
30 /** |
|
31 Implements the device data provider GetDevicePropValue request processor. |
|
32 @internalComponent |
|
33 */ |
|
34 class CMTPPbcSkip : public CMTPRequestProcessor, public MMTPPlaybackCallback |
|
35 { |
|
36 |
|
37 public: |
|
38 |
|
39 static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, |
|
40 MMTPConnection& aConnection, |
|
41 CMTPPlaybackControlDataProvider& aDataProvider); |
|
42 ~CMTPPbcSkip(); |
|
43 |
|
44 private: //From MMTPPlaybackCallback |
|
45 void HandlePlaybackCommandCompleteL(CMTPPlaybackCommand* aCmd, TInt aErr); |
|
46 |
|
47 private: // From CMTPRequestProcessor |
|
48 TMTPResponseCode CheckRequestL(); |
|
49 void ServiceL(); |
|
50 |
|
51 private: |
|
52 CMTPPbcSkip(MMTPDataProviderFramework& aFramework, |
|
53 MMTPConnection& aConnection, |
|
54 CMTPPlaybackControlDataProvider& aDataProvider); |
|
55 |
|
56 private: // Owned |
|
57 __FLOG_DECLARATION_MEMBER_MUTABLE; |
|
58 CMTPPlaybackControlDataProvider& iPlaybackControlDp; |
|
59 CMTPPlaybackCommand* iPbCmd; |
|
60 }; |
|
61 |
|
62 #endif // CMTPPBCSKIP_H |
|
63 |
|