diff -r 3de6c4cf6b67 -r 2cbbefa9af78 mpxmusicplayer/commonui/src/mpxcommonuihelper.cpp --- 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