mmappcomponents/mmmtpdataprovider/mmmtpdpplugins/abstractmediamtpdataprovider/inc/cabstractmediamtpdataproviderenumerator.h
equal
deleted
inserted
replaced
72 * Ignore the error, continue with the next one |
72 * Ignore the error, continue with the next one |
73 */ |
73 */ |
74 TInt RunError( TInt aError ); |
74 TInt RunError( TInt aError ); |
75 |
75 |
76 private: |
76 private: |
|
77 |
|
78 enum TEnumState |
|
79 { |
|
80 EEnumPlaylist, |
|
81 EEnumAbstractAlbum, |
|
82 EEnumCount |
|
83 }; |
|
84 |
77 /** |
85 /** |
78 * Standard C++ Constructor |
86 * Standard C++ Constructor |
79 * @param aFramework Reference to MMTPDataProviderFramework |
87 * @param aFramework Reference to MMTPDataProviderFramework |
80 * @param aDataProvider Reference to Abstract Media DataProvider |
88 * @param aDataProvider Reference to Abstract Media DataProvider |
81 */ |
89 */ |
88 * Called when the enumeration is completed |
96 * Called when the enumeration is completed |
89 */ |
97 */ |
90 void SignalCompleteL( MMTPEnumerationCallback& aCallback, |
98 void SignalCompleteL( MMTPEnumerationCallback& aCallback, |
91 TInt aError = KErrNone ); |
99 TInt aError = KErrNone ); |
92 |
100 |
93 void ScanStorageL( TUint32 aStorageId ); |
101 void InitStorageL( ); |
94 |
102 |
95 /** |
103 /** |
96 * Scan next storage |
104 * Scan next storage |
97 */ |
105 */ |
98 void ScanNextL(); |
106 void ScanNextL(); |
132 TUint32 iParentHandle; |
140 TUint32 iParentHandle; |
133 |
141 |
134 CMPXMediaArray* iAbstractMedias; |
142 CMPXMediaArray* iAbstractMedias; |
135 TInt iCount; |
143 TInt iCount; |
136 TInt iCurrentIndex; |
144 TInt iCurrentIndex; |
|
145 TInt iEnumState; |
137 |
146 |
138 #if defined(_DEBUG) || defined(MMMTPDP_PERFLOG) |
147 #if defined(_DEBUG) || defined(MMMTPDP_PERFLOG) |
139 CMmMtpDpPerfLog* iPerfLog; |
148 CMmMtpDpPerfLog* iPerfLog; |
140 #endif |
149 #endif |
141 |
150 |