javacommons/security/src.s60/telutils.cpp
changeset 61 bf7ee68962da
parent 47 f40128debb5d
child 83 26b2b12093af
--- a/javacommons/security/src.s60/telutils.cpp	Tue Jul 06 14:10:26 2010 +0300
+++ b/javacommons/security/src.s60/telutils.cpp	Wed Aug 18 09:43:15 2010 +0300
@@ -76,6 +76,19 @@
     return sec.Int();
 }
 
+/**
+ * Return 0 if secure time has not been set
+ */
+int TelUtils::isSecureTimeSet()
+{
+    TTime t;
+    if (KErrNoSecureTime == t.UniversalTimeSecure())
+    {
+        return 0;
+    }
+    return 1;
+}
+
 void TelUtils::ConstructL()
 {
     RMobilePhone::TMobilePhoneIdentityV1        phoneId;