1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CABSTRACTMEDIAMTPDATAPROVIDERSETOBJECTPROPLIST_H |
|
20 #define CABSTRACTMEDIAMTPDATAPROVIDERSETOBJECTPROPLIST_H |
|
21 |
|
22 #include "csetobjectproplist.h" |
|
23 |
|
24 class MMmMtpDpConfig; |
|
25 |
|
26 /** |
|
27 * Defines abstract media data provider SetObjectPropList request processor |
|
28 */ |
|
29 class CAbstractMediaMtpDataProviderSetObjectPropList : public CSetObjectPropList |
|
30 { |
|
31 public: |
|
32 /** |
|
33 * @param aFramework, The data provider framework |
|
34 * @param aConnection, The connection from which the request comes |
|
35 * @param aWrapper Medadata access |
|
36 * @return A pointer to the created request processor object |
|
37 */ |
|
38 static MMmRequestProcessor* NewL( MMTPDataProviderFramework& aFramework, |
|
39 MMTPConnection& aConnection, |
|
40 MMmMtpDpConfig& aDpConfig ); |
|
41 |
|
42 /** |
|
43 * Destructor |
|
44 */ |
|
45 ~CAbstractMediaMtpDataProviderSetObjectPropList(); |
|
46 |
|
47 private: |
|
48 /** |
|
49 * Standard C++ Constructor |
|
50 * @param aFramework, The data provider framework |
|
51 * @param aConnection, The connection from which the request comes |
|
52 * @param aWrapper Medadata access |
|
53 */ |
|
54 CAbstractMediaMtpDataProviderSetObjectPropList( MMTPDataProviderFramework& aFramework, |
|
55 MMTPConnection& aConnection, |
|
56 MMmMtpDpConfig& aDpConfig ); |
|
57 |
|
58 /** |
|
59 * 2nd Phase Constructor |
|
60 */ |
|
61 void ConstructL(); |
|
62 |
|
63 protected: |
|
64 // from CSetObjectPropList |
|
65 TMTPResponseCode ServiceSpecificObjectPropertyL( TUint16 aPropCode, |
|
66 const CMTPObjectMetaData& aObject, |
|
67 const CMTPTypeObjectPropListElement& aElement ); |
|
68 |
|
69 TInt HandleSpecificWrapperError( TInt aError, |
|
70 const CMTPObjectMetaData& aObject); |
|
71 |
|
72 }; |
|
73 |
|
74 #endif // CABSTRACTMEDIAMTPDATAPROVIDERSETOBJECTPROPLIST_H |
|
75 |
|