mmappcomponents/mmmtpdataprovider/tsrc/mtpdataprovidertestmodule/inc/cplaylistmtpdataprovidertester.h
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     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:  Tester class for abstractmediamtpdp plugin
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CABSTRACTMEDIAMTPDATAPROVIDERTESTER_H
       
    20 #define CABSTRACTMEDIAMTPDATAPROVIDERTESTER_H
       
    21 
       
    22 #include "cmmmtpdataprovidertester.h"
       
    23 
       
    24 /**
       
    25 *  CAbstractMediaMtpDataProviderTester class.
       
    26 *  
       
    27 */
       
    28 class CAbstractMediaMtpDataProviderTester : public CMmMtpDataProviderTester
       
    29     {
       
    30 public:
       
    31     static CAbstractMediaMtpDataProviderTester* NewL();
       
    32     virtual ~CAbstractMediaMtpDataProviderTester();
       
    33 private:
       
    34     TInt CheckSupportedL( TMTPSupportCategory aCategory,
       
    35             RArray<TUint> aResponseArray );
       
    36     
       
    37     TInt PrepareEnvironmentL();
       
    38     TInt CleanEnvironmentL();
       
    39     
       
    40     TBool ObjectEnumerationL_prepare( CMTPStorageMetaData* aPhysicalStorage,
       
    41             CMTPStorageMetaData* aLogicalStorage );
       
    42     TInt ObjectEnumerationL_checkresults( MMTPObjectMgr& aObjectManager );
       
    43     TInt DeleteObjectL_checkresults( MMTPObjectMgr& aObjectManager );
       
    44 private:
       
    45     CAbstractMediaMtpDataProviderTester();
       
    46     void ConstructL();
       
    47 private:
       
    48     CActiveSchedulerWait* iActiveSchedulerWait;
       
    49     RFs iFsSession;
       
    50     CFileMan* iFileMan;
       
    51     };
       
    52 
       
    53 #endif // CABSTRACTMEDIAMTPDATAPROVIDERTESTER_H