mtpdataproviders/mtpimagedp/inc/cmtpimagedpgetobjectpropdesc.h
changeset 0 d0791faffa3f
child 2 4843bb5893b6
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 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  @internalTechnology
       
    19 */
       
    20 
       
    21 #ifndef CMTPIMAGEDPGETOBJECTPROPDESC_H
       
    22 #define CMTPIMAGEDPGETOBJECTPROPDESC_H
       
    23 
       
    24 #include "cmtprequestprocessor.h"
       
    25 
       
    26 class CMTPImageDpObjectPropertyMgr;
       
    27 class CMTPTypeObjectPropDesc;
       
    28 class CMTPImageDataProvider;
       
    29 
       
    30 /** 
       
    31 Defines file data provider GetObjectPropDesc request processor
       
    32 
       
    33 */
       
    34 class CMTPImageDpGetObjectPropDesc : public CMTPRequestProcessor
       
    35     {
       
    36 public:
       
    37     static MMTPRequestProcessor* NewL(
       
    38                                     MMTPDataProviderFramework& aFramework,
       
    39                                     MMTPConnection& aConnection,CMTPImageDataProvider& aDataProvider);	
       
    40     ~CMTPImageDpGetObjectPropDesc();	
       
    41     
       
    42 private:	
       
    43     CMTPImageDpGetObjectPropDesc(
       
    44                     MMTPDataProviderFramework& aFramework,
       
    45                     MMTPConnection& aConnection);
       
    46     void ConstructL();
       
    47 
       
    48 private:	//from CMTPRequestProcessor
       
    49     virtual TMTPResponseCode CheckRequestL();
       
    50     virtual void ServiceL();	
       
    51 
       
    52 private:
       
    53     //helper
       
    54     void ServiceStorageIdL();
       
    55     void ServiceObjectFormatL();
       
    56     void ServiceProtectionStatusL();
       
    57     void ServiceObjectSizeL();
       
    58     void ServiceFileNameL();
       
    59     void ServiceDateCreatedL();
       
    60     void ServiceDateModifiedL();
       
    61     void ServiceParentObjectL();
       
    62     void ServicePuidL();
       
    63     void ServiceNameL();
       
    64     void ServiceWidthL();
       
    65     void ServiceHeightL();
       
    66     void ServiceImageBitDepthL();
       
    67     void ServiceRepresentativeSampleFormatL();
       
    68     void ServiceRepresentativeSampleSizeL();
       
    69     void ServiceRepresentativeSampleHeightL();
       
    70     void ServiceRepresentativeSampleWidthL();   
       
    71     void ServiceNonConsumableL();
       
    72     TUint16 GetPropertyGroupNumber(const TUint16 aPropCode) const;
       
    73     
       
    74 private:
       
    75     CMTPTypeObjectPropDesc*	iObjectProperty;
       
    76     
       
    77     /**
       
    78     FLOGGER debug trace member variable.
       
    79     */
       
    80     __FLOG_DECLARATION_MEMBER_MUTABLE;
       
    81     };
       
    82     
       
    83 #endif //CMTPIMAGEDPGETOBJECTPROPDESC_H
       
    84