videocollection/videocollectionwrapper/inc/videocollectionclient.h
changeset 35 3738fe97f027
parent 34 bbb98528c666
child 36 8aed59de29f9
equal deleted inserted replaced
34:bbb98528c666 35:3738fe97f027
   193      * 
   193      * 
   194      * @param albumId, Album where to add items.
   194      * @param albumId, Album where to add items.
   195      * @param mediaIds, Items which to add.
   195      * @param mediaIds, Items which to add.
   196      * @return 0 if no errors.
   196      * @return 0 if no errors.
   197      */
   197      */
   198     int addItemsInAlbum(TMPXItemId albumId, const QList<TMPXItemId> &mediaIds);
   198     int addItemsInAlbum(TMPXItemId &albumId, const QList<TMPXItemId> &mediaIds);
       
   199     
       
   200     /**
       
   201      * Removes items from existing album.
       
   202      * 
       
   203      * @param albumId, Album from where to remove items.
       
   204      * @param mediaIds, Items which to remove.
       
   205      * @return 0 if no errors.
       
   206      */
       
   207     int removeItemsFromAlbum(TMPXItemId &albumId, const QList<TMPXItemId> &mediaIds);
   199 
   208 
   200 private:
   209 private:
   201     
   210     
   202     /**
   211     /**
   203      * Private implementation to handle leaving code of collection opening.
   212      * Private implementation to handle leaving code of collection opening.
   268      * 
   277      * 
   269      * @param albumId, Album where to add items.
   278      * @param albumId, Album where to add items.
   270      * @param mediaIds, Items to add in the album.
   279      * @param mediaIds, Items to add in the album.
   271      * @return None.
   280      * @return None.
   272      */
   281      */
   273     void addItemsInAlbumL(TMPXItemId albumId, const QList<TMPXItemId> &mediaIds);
   282     void addItemsInAlbumL(TMPXItemId &albumId, const QList<TMPXItemId> &mediaIds);
       
   283     
       
   284     /**
       
   285      * Removes items from an album.
       
   286      * 
       
   287      * @param albumId, Album where to remove items.
       
   288      * @param mediaIds, Items to remove from album.
       
   289      * @return None.
       
   290      */
       
   291     void removeItemsFromAlbumL(TMPXItemId &albumId, const QList<TMPXItemId> &mediaIds);
   274     
   292     
   275 private:
   293 private:
   276     
   294     
   277 
   295 
   278     /**
   296     /**