1 /* |
|
2 * Copyright (c) 2006 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: mpxcollectionutility stub for testing mpmpxframeworkwrapper |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MMPXCOLLECTIONUTILITY_H |
|
20 #define MMPXCOLLECTIONUTILITY_H |
|
21 |
|
22 #include <mpxcollectionframeworkdefs.h> |
|
23 #include <mpxcommonframeworkdefs.h> |
|
24 #include <mpxcollectionobserver.h> |
|
25 #include <mpxattribute.h> |
|
26 #include <mpxsearchcriteria.h> |
|
27 #include <mpxattributespecs.h> |
|
28 |
|
29 #include <badesca.h> |
|
30 |
|
31 |
|
32 //Forward declarations |
|
33 class CMPXCollectionPath; |
|
34 |
|
35 class MMPXCollection |
|
36 { |
|
37 public: |
|
38 |
|
39 // Stub functions interface |
|
40 virtual void CommandL(CMPXCommand& aCmd) = 0; |
|
41 |
|
42 }; |
|
43 |
|
44 class MMPXCollectionUtility : public MMPXCollection |
|
45 { |
|
46 public: |
|
47 |
|
48 // Stub functions |
|
49 static MMPXCollectionUtility* NewL( MMPXCollectionObserver* aObs = NULL, |
|
50 const TUid& aModeId = KMcModeDefault); |
|
51 MMPXCollectionUtility(); |
|
52 ~MMPXCollectionUtility(); |
|
53 MMPXCollection& Collection(); |
|
54 TUid CollectionIDL(const TArray<TUid>& aUids); |
|
55 void Close(); |
|
56 |
|
57 void CommandL(CMPXCommand& aCmd); |
|
58 |
|
59 public: |
|
60 |
|
61 CMPXCommand *iCmd; |
|
62 }; |
|
63 |
|
64 |
|
65 |
|
66 |
|
67 |
|
68 #endif // MMPXCOLLECTIONUTILITY_H |
|
69 |
|