ui/uiengine/medialists/src/glxmedialist.cpp
changeset 29 2c833fc9e98f
parent 26 c499df2dbb33
child 33 1ee2af37811f
--- a/ui/uiengine/medialists/src/glxmedialist.cpp	Mon May 03 12:31:32 2010 +0300
+++ b/ui/uiengine/medialists/src/glxmedialist.cpp	Fri May 14 15:52:22 2010 +0300
@@ -866,6 +866,24 @@
     }
 
 // -----------------------------------------------------------------------------
+// Checks if a command is active or not
+// -----------------------------------------------------------------------------
+TBool CGlxMediaList::IsCommandActive()
+    {
+    TRACER("CGlxMediaList::IsCommandActive");
+
+    if(iCommandPending)
+        {
+         return ETrue;  
+        }
+    else
+        {
+         return EFalse;
+        }
+    }
+
+
+// -----------------------------------------------------------------------------
 // Cancels a command on the collection
 // -----------------------------------------------------------------------------
 void CGlxMediaList::CancelCommand()