mtpfws/mtpfw/inc/cdummydp.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2006-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 CDUMMYDP_H
       
    22 #define CDUMMYDP_H
       
    23 
       
    24 #include <mtp/cmtpdataproviderplugin.h>
       
    25 
       
    26 /** 
       
    27 Defines the MTP data provider component test plug-in.
       
    28 
       
    29 @internalTechnology
       
    30 */
       
    31 
       
    32 const TUid KFrameworkUid = {0x05E00F14};
       
    33 
       
    34 class CDummyDp : public CMTPDataProviderPlugin
       
    35     {
       
    36 public:    
       
    37 	static TAny* NewL(TAny* aParams);
       
    38     ~CDummyDp();  
       
    39     
       
    40 private: // From CMTPDataProviderPlugin
       
    41 
       
    42     void Cancel();
       
    43     void ProcessEventL(const TMTPTypeEvent& aEvent, MMTPConnection& aConnection);
       
    44     void ProcessNotificationL(TMTPNotification aNotification, const TAny* aParams);
       
    45     void ProcessRequestPhaseL(TMTPTransactionPhase aPhase, const TMTPTypeRequest& aRequest, MMTPConnection& aConnection);
       
    46     void StartObjectEnumerationL(TUint32 aStorageId, TBool aPersistentFullEnumeration);
       
    47     void StartStorageEnumerationL();
       
    48     void Supported(TMTPSupportCategory aCategory, RArray<TUint>& aArray) const;
       
    49 
       
    50 private:
       
    51     CDummyDp(TAny* aParams);
       
    52     void ConstructL();
       
    53     
       
    54     };
       
    55     
       
    56 #endif // CDUMMYDP_H