mpengine/tsrc/unittest_mpmpxcollectionframeworkwrapper/stub/inc/mpxcollectionopenutility.h
author William Roberts <williamr@symbian.org>
Thu, 22 Jul 2010 16:32:33 +0100
branchGCC_SURGE
changeset 44 eff9df3d9c98
parent 22 ecf06a08d4d9
permissions -rw-r--r--
Catchup to latest Symbian^4

/*
* Copyright (c) 2007 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:  mpxcollectionopenutility stub for testing mpmpxframeworkwrapper
*
*/


#ifndef C_CMPXCOLLECTIONOPENUTILITY_H
#define C_CMPXCOLLECTIONOPENUTILITY_H

#include <mpxcollectionobserver.h>
#include <mpxcollectionframeworkdefs.h>
#include <mpxcollectionopenlresultdef.h>


class CMPXCollectionOpenUtility  
{
public:
    
    // Stub functions
    enum TDirection
        {
        EFetchNormal,
        EFetchUp,
        EFetchDown
        };
     static CMPXCollectionOpenUtility* NewL( MMPXCollectionObserver* aObs, TUid aMode = KMcModeDefault );
     CMPXCollectionOpenUtility();
     ~CMPXCollectionOpenUtility();
     void StartL( TArray<TMPXAttribute> aAttrs,
                              TInt aChunkSize,
                              TInt aOffset = 0,
                              TDirection aDirection = EFetchNormal,
                              TMPXAttribute aKeyAttribute = KMPXMediaNullAttribute );
     void Stop();
     void SetDelay( TInt aDelay );
public:
     TInt       iDelay;
     TInt       iChunkSize;
     TBool      iStop;
     TBool      iStart;
     TDirection iDirection;
    };

#endif // C_CMPXCOLLECTIONOPENUTILITY_H