ui/uiengine/medialists/src/glxmedialist.cpp
changeset 29 2c833fc9e98f
parent 26 c499df2dbb33
child 33 1ee2af37811f
equal deleted inserted replaced
26:c499df2dbb33 29:2c833fc9e98f
   862     __ASSERT_DEBUG( aCommand.IsSupported( KMPXCommandGeneralSessionId ), 
   862     __ASSERT_DEBUG( aCommand.IsSupported( KMPXCommandGeneralSessionId ), 
   863                     Panic( EGlxPanicLogicError ) );
   863                     Panic( EGlxPanicLogicError ) );
   864 
   864 
   865     iCommandPending = aCommand.ValueTObjectL<TAny*>( KMPXCommandGeneralSessionId );
   865     iCommandPending = aCommand.ValueTObjectL<TAny*>( KMPXCommandGeneralSessionId );
   866     }
   866     }
       
   867 
       
   868 // -----------------------------------------------------------------------------
       
   869 // Checks if a command is active or not
       
   870 // -----------------------------------------------------------------------------
       
   871 TBool CGlxMediaList::IsCommandActive()
       
   872     {
       
   873     TRACER("CGlxMediaList::IsCommandActive");
       
   874 
       
   875     if(iCommandPending)
       
   876         {
       
   877          return ETrue;  
       
   878         }
       
   879     else
       
   880         {
       
   881          return EFalse;
       
   882         }
       
   883     }
       
   884 
   867 
   885 
   868 // -----------------------------------------------------------------------------
   886 // -----------------------------------------------------------------------------
   869 // Cancels a command on the collection
   887 // Cancels a command on the collection
   870 // -----------------------------------------------------------------------------
   888 // -----------------------------------------------------------------------------
   871 void CGlxMediaList::CancelCommand()
   889 void CGlxMediaList::CancelCommand()