javacommons/security/src.s60/telutils.cpp
branchRCL_3
changeset 60 6c158198356e
parent 46 4376525cdefb
child 83 26b2b12093af
--- a/javacommons/security/src.s60/telutils.cpp	Thu Jul 15 18:31:06 2010 +0300
+++ b/javacommons/security/src.s60/telutils.cpp	Thu Aug 19 09:48:13 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;