equal
deleted
inserted
replaced
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() |