mpengine/tsrc/unittest_mpmpxcollectionframeworkwrapper/stub/inc/mpxcollectionopenutility.h
changeset 22 ecf06a08d4d9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mpengine/tsrc/unittest_mpmpxcollectionframeworkwrapper/stub/inc/mpxcollectionopenutility.h	Mon May 03 12:29:20 2010 +0300
@@ -0,0 +1,56 @@
+/*
+* 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