equal
deleted
inserted
replaced
47 #endif |
47 #endif |
48 { |
48 { |
49 public: // Constructors and destructor |
49 public: // Constructors and destructor |
50 |
50 |
51 friend class CVcxMyVideosMdsCmdQueue; |
51 friend class CVcxMyVideosMdsCmdQueue; |
52 |
52 friend class CVcxMyVideosMdsDb; |
|
53 |
53 enum TVcxAsyncOperation |
54 enum TVcxAsyncOperation |
54 { |
55 { |
55 EVcxNone, |
56 EVcxNone, |
56 EVcxAddVideosToAlbum, |
57 EVcxAddVideosToAlbum, |
57 EVcxRemoveRelations, |
58 EVcxRemoveRelations, |
90 * @param aAlbumList Album list is written here. Caller owns this, ownership |
91 * @param aAlbumList Album list is written here. Caller owns this, ownership |
91 * does not move. |
92 * does not move. |
92 * @param aClient Response call is done to this object. |
93 * @param aClient Response call is done to this object. |
93 */ |
94 */ |
94 void GetAlbumsL( CMPXMedia* aAlbumList, MVcxMyVideosMdsAlbumsObserver& aClient ); |
95 void GetAlbumsL( CMPXMedia* aAlbumList, MVcxMyVideosMdsAlbumsObserver& aClient ); |
95 |
96 |
|
97 /** |
|
98 * Gets album from MDS synchronously. |
|
99 * |
|
100 * @param aId MDS ID of the album to be fetched. |
|
101 * @returm MPX media containing album data. Ownership |
|
102 * moves to caller. NULL if not found. |
|
103 */ |
|
104 CMPXMedia* GetAlbumL( TUint32 aId ); |
|
105 |
96 /** |
106 /** |
97 * Gets album content IDs asynchronously. |
107 * Gets album content IDs asynchronously. |
98 * HandleGetAlbumContentIdsResp() callback function is called when ready. |
108 * HandleGetAlbumContentIdsResp() callback function is called when ready. |
99 * Utilizes CVcxMyVideosMdsCmdQueue. |
109 * Utilizes CVcxMyVideosMdsCmdQueue. |
100 * |
110 * |
167 * |
177 * |
168 * @param aClient Response call is done to this object. |
178 * @param aClient Response call is done to this object. |
169 */ |
179 */ |
170 void RemoveAlbumsL( CMPXMedia* aMpxCmd, MVcxMyVideosMdsAlbumsObserver& aClient ); |
180 void RemoveAlbumsL( CMPXMedia* aMpxCmd, MVcxMyVideosMdsAlbumsObserver& aClient ); |
171 |
181 |
|
182 /** |
|
183 * Sets album attributes. |
|
184 * |
|
185 * @param aVideo Values from aVideo are written to MDS. |
|
186 */ |
|
187 void SetAlbumL( CMPXMedia& aVideo ); |
|
188 |
172 protected: |
189 protected: |
173 |
190 |
174 /** |
191 /** |
175 * From CActive. |
192 * From CActive. |
176 * Called when operation completes. |
193 * Called when operation completes. |