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 CMEDIAMTPDATAPROVIDERGETOBJECTPROPDESC_H |
|
20 #define CMEDIAMTPDATAPROVIDERGETOBJECTPROPDESC_H |
|
21 |
|
22 #include "cgetobjectpropdesc.h" |
|
23 |
|
24 /** |
|
25 * Defines media data provider GetObjectPropDesc request processor |
|
26 */ |
|
27 class CMediaMtpDataProviderGetObjectPropDesc: public CGetObjectPropDesc |
|
28 { |
|
29 public: |
|
30 |
|
31 /** |
|
32 * @param aFramework, The data provider framework |
|
33 * @param aConnection, The connection from which the request comes |
|
34 * @param aWrapper Medadata access |
|
35 * @return A pointer to the created request processor object |
|
36 */ |
|
37 static MMmRequestProcessor* NewL( MMTPDataProviderFramework& aFramework, |
|
38 MMTPConnection& aConnection, |
|
39 MMmMtpDpConfig& aDpConfig ); |
|
40 |
|
41 /** |
|
42 * Destructor |
|
43 */ |
|
44 ~CMediaMtpDataProviderGetObjectPropDesc(); |
|
45 |
|
46 protected: |
|
47 // from CGetObjectPropDesc, override from baseclass |
|
48 void ServiceSpecificObjectPropertyL( TUint16 aPropCode ); |
|
49 |
|
50 private: |
|
51 |
|
52 /** |
|
53 * Standard C++ Constructor |
|
54 * @param aFramework, The data provider framework |
|
55 * @param aConnection, The connection from which the request comes |
|
56 * @param aWrapper Medadata access |
|
57 */ |
|
58 CMediaMtpDataProviderGetObjectPropDesc( MMTPDataProviderFramework& aFramework, |
|
59 MMTPConnection& aConnection, |
|
60 MMmMtpDpConfig& aDpConfig ); |
|
61 /** |
|
62 * two-phase construction |
|
63 */ |
|
64 void ConstructL(); |
|
65 |
|
66 void ServiceNumberOfChannelsL(); |
|
67 void ServiceCodeSampleRateL(); |
|
68 void ServiceCodeWaveCodecL(); |
|
69 void ServiceCodeAudioBitrateL(); |
|
70 void ServiceDurationL(); |
|
71 void ServiceDescriptionL(); |
|
72 void ServiceScanTypeDescriptionL(); |
|
73 void ServiceVideoFourCCCodecL(); |
|
74 void ServiceVideoBitrateL(); |
|
75 void ServiceEncodingProfileDescriptionL(); |
|
76 void ServiceDRMStatusL(); |
|
77 void ServiceOMADRMStatusL(); |
|
78 |
|
79 void ServiceRangeFormDescriptionL( TUint16 aPropCode, |
|
80 TUint32 aMinValue, |
|
81 TUint32 aMaxValue, |
|
82 TUint32 aStepValue, |
|
83 TBool aIsReadOnly = EFalse ); |
|
84 |
|
85 }; |
|
86 |
|
87 #endif // CMEDIAMTPDATAPROVIDERGETOBJECTPROPDESC_H |
|