mpengine/tsrc/unittest_mpmpxcollectionframeworkwrapper/stub/src/mpxcollectionutility.cpp
equal
deleted
inserted
replaced
23 #include <mpxcollectionmessagedefs.h> |
23 #include <mpxcollectionmessagedefs.h> |
24 #include <mpxmediageneraldefs.h> |
24 #include <mpxmediageneraldefs.h> |
25 #include <mpxmediacollectiondetaildefs.h> |
25 #include <mpxmediacollectiondetaildefs.h> |
26 #include <mpxcollectionplugin.hrh> |
26 #include <mpxcollectionplugin.hrh> |
27 #include <mpxcollectionpath.h> |
27 #include <mpxcollectionpath.h> |
|
28 #include <mpxcollectionobserver.h> |
28 #include "mptrace.h" |
29 #include "mptrace.h" |
29 #include <e32debug.h> |
30 #include <e32debug.h> |
30 |
31 |
31 #include "stub/inc/mpxcollectionutility.h" |
32 #include "stub/inc/mpxcollectionutility.h" |
32 const TInt KMPXAllSongsViewIndex = 0; |
33 const TInt KMPXAllSongsViewIndex = 0; |
39 iOpen(EFalse), |
40 iOpen(EFalse), |
40 iIndex(0), |
41 iIndex(0), |
41 iOpenCount(0), |
42 iOpenCount(0), |
42 iCountPath(0), |
43 iCountPath(0), |
43 iPlaylists(0), |
44 iPlaylists(0), |
44 iAlbumSongs(0) |
45 iAlbumSongs(0), |
|
46 iAsynchFindResult(0) |
45 { |
47 { |
46 |
48 |
47 } |
49 } |
48 |
50 |
49 /*! |
51 /*! |
56 delete iAlbumSongs; |
58 delete iAlbumSongs; |
57 } |
59 } |
58 if (iPlaylists) |
60 if (iPlaylists) |
59 { |
61 { |
60 delete iPlaylists; |
62 delete iPlaylists; |
|
63 } |
|
64 if (iAsynchFindResult) |
|
65 { |
|
66 delete iAsynchFindResult; |
61 } |
67 } |
62 } |
68 } |
63 |
69 |
64 /*! |
70 /*! |
65 Stub function. |
71 Stub function. |
113 } |
119 } |
114 else |
120 else |
115 { |
121 { |
116 return NULL; |
122 return NULL; |
117 } |
123 } |
118 |
124 } |
|
125 /*! |
|
126 Stub function. |
|
127 */ |
|
128 void MMPXCollectionUtility::FindAllL(const CMPXSearchCriteria& aCriteria, |
|
129 const TArray<TMPXAttribute>& aAttrs, |
|
130 MMPXCollectionFindObserver& aObs) |
|
131 { |
|
132 Q_UNUSED(aObs); |
|
133 iAsynchFindResult = FindAllL(aCriteria, aAttrs); |
119 } |
134 } |
120 |
135 |
121 /*! |
136 /*! |
122 Stub function. |
137 Stub function. |
123 */ |
138 */ |