videocollection/mpxmyvideoscollection/inc/vcxmyvideosmdsalbums.h
changeset 35 3738fe97f027
parent 34 bbb98528c666
child 36 8aed59de29f9
--- a/videocollection/mpxmyvideoscollection/inc/vcxmyvideosmdsalbums.h	Thu Apr 01 23:22:15 2010 +0300
+++ b/videocollection/mpxmyvideoscollection/inc/vcxmyvideosmdsalbums.h	Thu Apr 01 23:32:44 2010 +0300
@@ -49,7 +49,8 @@
     public: // Constructors and destructor
         
         friend class CVcxMyVideosMdsCmdQueue;
-
+        friend class CVcxMyVideosMdsDb;
+        
         enum TVcxAsyncOperation
             {
             EVcxNone,
@@ -92,7 +93,16 @@
         * @param aClient     Response call is done to this object.
         */
         void GetAlbumsL( CMPXMedia* aAlbumList, MVcxMyVideosMdsAlbumsObserver& aClient );
-        
+
+        /**
+         * Gets album from MDS synchronously.
+         * 
+         * @param aId  MDS ID of the album to be fetched.
+         * @returm     MPX media containing album data. Ownership
+         *             moves to caller. NULL if not found.
+         */
+        CMPXMedia* GetAlbumL( TUint32 aId );
+
         /**
          * Gets album content IDs asynchronously.
          * HandleGetAlbumContentIdsResp() callback function is called when ready.
@@ -169,6 +179,13 @@
          */        
         void RemoveAlbumsL( CMPXMedia* aMpxCmd, MVcxMyVideosMdsAlbumsObserver& aClient );
         
+        /**
+         * Sets album attributes.
+         * 
+         * @param aVideo  Values from aVideo are written to MDS.
+         */
+        void SetAlbumL( CMPXMedia& aVideo );
+        
     protected:
         
         /**