mpviewplugins/mpcollectionviewplugin/tsrc/unittest_mpmpxframeworkwrapper/stub/inc/mpmpxisolatedcollectionhelper.h
equal
deleted
inserted
replaced
|
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: isolated collection helper stub for testing mpmpxframeworkwrapper. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CMPMPXISOLATEDCOLLECTIONHELPER_H |
|
19 #define CMPMPXISOLATEDCOLLECTIONHELPER_H |
|
20 |
|
21 #include <e32base.h> |
|
22 class CMPXCollectionPath; |
|
23 class CMPXMedia; |
|
24 |
|
25 class MMpMpxIsolatedCollectionHelperObserver |
|
26 { |
|
27 public: |
|
28 |
|
29 virtual void HandleIsolatedOpenL( const CMPXMedia& aEntries, |
|
30 TInt aError ) = 0; |
|
31 }; |
|
32 |
|
33 class CMpMpxIsolatedCollectionHelper : public CBase |
|
34 { |
|
35 public: |
|
36 |
|
37 static CMpMpxIsolatedCollectionHelper* NewL( MMpMpxIsolatedCollectionHelperObserver* aObserver ); |
|
38 static CMpMpxIsolatedCollectionHelper* NewLC( MMpMpxIsolatedCollectionHelperObserver* aObserver ); |
|
39 virtual ~CMpMpxIsolatedCollectionHelper(); |
|
40 void OpenCollectionL( CMPXCollectionPath& aPath ); |
|
41 |
|
42 private: |
|
43 CMpMpxIsolatedCollectionHelper( MMpMpxIsolatedCollectionHelperObserver* aObserver ); |
|
44 |
|
45 public: |
|
46 MMpMpxIsolatedCollectionHelperObserver* iObserver; |
|
47 TBool iOpen; |
|
48 TInt iOpenCount; |
|
49 TInt iCountPath; |
|
50 |
|
51 }; |
|
52 |
|
53 #endif // CMPMPXISOLATEDCOLLECTIONHELPER_H |
|
54 |
|
55 //EOF |