diff -r 000000000000 -r d0791faffa3f mtpfws/mtpfw/inc/cdummydp.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mtpfws/mtpfw/inc/cdummydp.h Tue Feb 02 01:11:40 2010 +0200 @@ -0,0 +1,56 @@ +// Copyright (c) 2006-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 CDUMMYDP_H +#define CDUMMYDP_H + +#include + +/** +Defines the MTP data provider component test plug-in. + +@internalTechnology +*/ + +const TUid KFrameworkUid = {0x05E00F14}; + +class CDummyDp : public CMTPDataProviderPlugin + { +public: + static TAny* NewL(TAny* aParams); + ~CDummyDp(); + +private: // From CMTPDataProviderPlugin + + void Cancel(); + void ProcessEventL(const TMTPTypeEvent& aEvent, MMTPConnection& aConnection); + void ProcessNotificationL(TMTPNotification aNotification, const TAny* aParams); + void ProcessRequestPhaseL(TMTPTransactionPhase aPhase, const TMTPTypeRequest& aRequest, MMTPConnection& aConnection); + void StartObjectEnumerationL(TUint32 aStorageId, TBool aPersistentFullEnumeration); + void StartStorageEnumerationL(); + void Supported(TMTPSupportCategory aCategory, RArray& aArray) const; + +private: + CDummyDp(TAny* aParams); + void ConstructL(); + + }; + +#endif // CDUMMYDP_H