mtpdataproviders/mtpimagedp/inc/cmtpimagedpgetobjectpropdesc.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 27 Apr 2010 17:30:23 +0300
branchRCL_3
changeset 6 ef55b168cedb
parent 2 4843bb5893b6
permissions -rw-r--r--
Revision: 201004 Kit: 201017

// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

/**
 @file
 @internalTechnology
*/

#ifndef CMTPIMAGEDPGETOBJECTPROPDESC_H
#define CMTPIMAGEDPGETOBJECTPROPDESC_H

#include "cmtprequestprocessor.h"

class CMTPImageDpObjectPropertyMgr;
class CMTPTypeObjectPropDesc;
class CMTPImageDataProvider;

/** 
Defines file data provider GetObjectPropDesc request processor

*/
class CMTPImageDpGetObjectPropDesc : public CMTPRequestProcessor
    {
public:
    static MMTPRequestProcessor* NewL(
                                    MMTPDataProviderFramework& aFramework,
                                    MMTPConnection& aConnection,CMTPImageDataProvider& aDataProvider);	
    ~CMTPImageDpGetObjectPropDesc();	
    
private:	
    CMTPImageDpGetObjectPropDesc(
                    MMTPDataProviderFramework& aFramework,
                    MMTPConnection& aConnection);
    void ConstructL();

private:	//from CMTPRequestProcessor
    virtual TMTPResponseCode CheckRequestL();
    virtual void ServiceL();	

private:
    //helper
    void ServiceStorageIdL();
    void ServiceObjectFormatL();
    void ServiceProtectionStatusL();
    void ServiceObjectSizeL();
    void ServiceFileNameL();
    void ServiceDateCreatedL();
    void ServiceDateModifiedL();
    void ServiceParentObjectL();
    void ServicePuidL();
    void ServiceNameL();
    void ServiceWidthL();
    void ServiceHeightL();
    void ServiceImageBitDepthL();
    void ServiceRepresentativeSampleFormatL();
    void ServiceRepresentativeSampleSizeL();
    void ServiceRepresentativeSampleHeightL();
    void ServiceRepresentativeSampleWidthL();
    void ServiceRepresentativeSampleDataL();
    void ServiceNonConsumableL();
    TUint16 GetPropertyGroupNumber(const TUint16 aPropCode) const;
    
private:
    CMTPTypeObjectPropDesc*	iObjectProperty;
    
    /**
    FLOGGER debug trace member variable.
    */
    __FLOG_DECLARATION_MEMBER_MUTABLE;
    };
    
#endif //CMTPIMAGEDPGETOBJECTPROPDESC_H