mpxmusicplayer/mediakeyhandler/inc/mpxmediakeyhandlerimp.h
branchRCL_3
changeset 50 26a1709b9fec
parent 28 56b11cf8addb
equal deleted inserted replaced
49:455f89b7fcc5 50:26a1709b9fec
   341      * 
   341      * 
   342      * @return The check result. If mpx is foreground, return true.
   342      * @return The check result. If mpx is foreground, return true.
   343      */
   343      */
   344     TBool IsAppForeground();
   344     TBool IsAppForeground();
   345     
   345     
   346     static VolumePopupSynchTimerCallback( TAny* aPtr );
   346     static TInt VolumePopupSynchTimerCallback( TAny* aPtr );
   347     void DoVolumePopupSynch();
   347     void DoVolumePopupSynch();
   348     void StartVolumePopupSynchTimer();
   348     void StartVolumePopupSynchTimer();
   349     
   349     
       
   350     
       
   351     /**
       
   352      * Callback function of Filter event timer
       
   353      * 
       
   354      * @param aPtr, Pointer to an instance of CMPXMediaKeyHandlerImp
       
   355      * @return value is ignored and is irrelevant in that context
       
   356      */
       
   357     static  TInt FilterEventTimerCallback( TAny* aPtr );
       
   358     
       
   359     /**
       
   360      * Do with the rest event of VolPopup
       
   361      * 
       
   362      * VolPopup CallBack functon is frequently called, 
       
   363      * But Music Palyer deals with the event slowly.
       
   364      * Thus VolPopup will not display smoothly.
       
   365 	 * So Music Player needs timer to filter some events.
       
   366      */
       
   367     void DoFilterEventTimer();
   350 
   368 
   351 private:    // Data
   369 private:    // Data
   352 
   370 
   353     CRemConInterfaceSelector* iInterfaceSelector;   // owned
   371     CRemConInterfaceSelector* iInterfaceSelector;   // owned
   354     CRemConCoreApiTarget* iCoreTarget;              // not own
   372     CRemConCoreApiTarget* iCoreTarget;              // not own
   383     TInt iVolumeSteps;			// Number of volume steps in ui
   401     TInt iVolumeSteps;			// Number of volume steps in ui
   384     #ifdef UPNP_INCLUDED
   402     #ifdef UPNP_INCLUDED
   385     CUpnpCopyCommand* iUpnpCopyCommand;
   403     CUpnpCopyCommand* iUpnpCopyCommand;
   386     #endif
   404     #endif
   387     TInt iUpnpVolume; // absolute upnp volume value
   405     TInt iUpnpVolume; // absolute upnp volume value
       
   406     TInt iPreviousVol;          //Last time volume
   388     CPeriodic* iVolumePopupSynchTimer;
   407     CPeriodic* iVolumePopupSynchTimer;
       
   408     CPeriodic* iFilterEventTimer;         //owned, filter volumePopup event
   389     };
   409     };
   390 
   410 
   391 #endif  // C_CMPXMEDIAKEYHANDLERIMP_H
   411 #endif  // C_CMPXMEDIAKEYHANDLERIMP_H
   392 
   412 
   393 // End of File
   413 // End of File