videoplayback/inc/mpxvideoplaybackmediadetailsviewer.h
branchRCL_3
changeset 21 315810614048
parent 11 8970fbd719ec
--- a/videoplayback/inc/mpxvideoplaybackmediadetailsviewer.h	Thu Jul 15 18:41:27 2010 +0300
+++ b/videoplayback/inc/mpxvideoplaybackmediadetailsviewer.h	Thu Aug 19 09:57:17 2010 +0300
@@ -15,7 +15,9 @@
 *
 */
 
-// Version : %version:  e003sa33#6 %
+
+// Version : %version:  7 %
+
 
 #ifndef MPXVIDEOPLAYBACKMEDIADETAILSVIEWER_H_
 #define MPXVIDEOPLAYBACKMEDIADETAILSVIEWER_H_
@@ -78,12 +80,12 @@
         * @param aRect drawable area.
         */
         void Draw( const TRect& aRect ) const;
-        
+
         /**
         * Creates new skins for the control
         * @return void
         */
-        void SkinChangeL();        
+        void SkinChangeL();
 
 
     public: // from CoeControl
@@ -100,56 +102,56 @@
          *  @since 5.0
          */
         void Reset();
-        
-        /** 
+
+        /**
         * Accessor for the dynamically calculated viewer rect
-        * @since 9.2 
+        * @since 9.2
         * @return the viewer rect
-        */                   
-        TRect ViewerRect();         
-              
+        */
+        TRect ViewerRect();
+
 
     private:
-        
+
         void CreateLabelsL();
-        
+
         void LaunchDRMDetailsL();
-        
+
         /**
         * Sets label rects and text
         */
-        void FormatLabelsL() const;   
-        
+        void FormatLabelsL() const;
+
         void UpdateBackgroundBitmapL() const;
-        
-        /** 
+
+        /**
         * Timer callback for scroll timer
-        * @since 9.2 
-        * @param aPtr Pointer to timers callback 
-        * @return KErrNone 
-        */ 
+        * @since 9.2
+        * @param aPtr Pointer to timers callback
+        * @return KErrNone
+        */
         static TInt ScrollTimer( TAny* aPtr );
 
-        /** 
+        /**
         * Handle Scroll Timer
-        * @since 9.2 
-        * @return void 
-        */ 
+        * @since 9.2
+        * @return void
+        */
         void HandleScrollTimerL();
-        
-        /** 
+
+        /**
         * Determine the number of items to be shown in the viewer
-        * @since 9.2 
+        * @since 9.2
         * @return the number of rows to be created
-        */         
+        */
         TInt NumOfItemsShownInViewerL();
-        
-        /** 
+
+        /**
         * Dynamically calculate determine the viewer rectangle dyanmically
-        * @since 9.2 
+        * @since 9.2
         * @return the viewer rect
-        */                   
-        TRect CalculateViewerRectL();          
+        */
+        TRect CalculateViewerRectL();
 
         /**
          * Update the text of filename label
@@ -162,14 +164,14 @@
         void UpdateTitleL();
 
     private:
-        
+
         /**
          * Scroll the too long text for some label
          */
         class TTextScroller
         {
             public:
-        
+
                 /**
                  * Constructor
                  */
@@ -194,37 +196,38 @@
                 void ScrollText( const TDesC& aSrcText, TDes& aDesText );
 
             private:
-                
-                TUint32		iDelayBeginningTick;
-                TInt		iTextScrollPos;
-                TBool		iDelay;
-                TBool		iScroll;
-                TInt		iSrcTextLen;
+
+                TUint32        iDelayBeginningTick;
+                TInt           iTextScrollPos;
+                TBool          iDelay;
+                TBool          iScroll;
+                TInt           iSrcTextLen;
         };
 
     private:    // Data
-        
+
         CMPXVideoPlaybackControlsController* iController;
-        
+
         CEikLabel*                           iClipnameLabel;
         CEikLabel*                           iTitleLabel;
-        CEikLabel*                           iArtistLabel;        
+        CEikLabel*                           iArtistLabel;
         CEikLabel*                           iFormatLabel;
         CEikLabel*                           iResolutionLabel;
         CEikLabel*                           iDurationLabel;
         CEikLabel*                           iBitrateLabel;
         CEikLabel*                           iLicenseLabel;
         CEikLabel*                           iAdditionalLabel;
-        
+
 
-        CFbsBitmap*                          iBackgroundBitmap;   
+        CFbsBitmap*                          iBackgroundBitmap;
         CPeriodic*                           iScrollingTextTimer;
         TRect                                iViewerRect;
         HBufC*                               iAdditionalString;
         TTextScroller                        iFilenameScroller;
         TTextScroller                        iTitleScroller;
         // after every scrolling label has updated, draw them
-        TBool                                iScrolledTextUpdated; 
+        TBool                                iScrolledTextUpdated;
+        TBool                                iDrmDetailsLaunched;
 };