mpxmusicplayer/commonui/src/mpxcommonuihelper.cpp
branchRCL_3
changeset 27 2cbbefa9af78
parent 26 3de6c4cf6b67
--- a/mpxmusicplayer/commonui/src/mpxcommonuihelper.cpp	Wed Sep 01 12:32:02 2010 +0100
+++ b/mpxmusicplayer/commonui/src/mpxcommonuihelper.cpp	Tue Sep 14 21:14:08 2010 +0300
@@ -239,6 +239,21 @@
         }
     return ret;
     }
+     
+// ---------------------------------------------------------------------------
+// Check if the host application is calendar
+// ---------------------------------------------------------------------------
+//
+EXPORT_C TBool CMPXCommonUiHelper::IsHostCalendarL()
+{
+    TBool ret( EFalse );
+    TInt hostUid = MPXTlsHelper::HostUid().iUid;
+    if ( hostUid == KMPXCalendarUid)
+        {
+        ret = ETrue;
+        }
+    return ret;
+}
 
 // ---------------------------------------------------------------------------
 // Check if the host application is browser