javamanager/javacaptain/src.s60/tickerprovider.cpp
branchRCL_3
changeset 24 6c158198356e
parent 14 04becd199f91
equal deleted inserted replaced
23:e5618cc85d74 24:6c158198356e
    89     {
    89     {
    90         Cancel();
    90         Cancel();
    91     }
    91     }
    92     mNextTickAt = 0LL;
    92     mNextTickAt = 0LL;
    93 }
    93 }
    94 /*
    94 
    95 long long TickerProvider::getCurrentJavaTime()
    95 long long TickerProvider::getPlatformCurrentJavaTime()
    96 {
    96 {
    97     JELOG2(EJavaCaptain);
    97     JELOG2(EJavaCaptain);
    98     TTime currentTime;
    98     TTime currentTime;
    99     currentTime.UniversalTime();
    99     currentTime.UniversalTime();
   100 
   100 
   101     // Current time - javaEpoc && uSeconds -> mSeconds
   101     // Current time - javaEpoc && uSeconds -> mSeconds
   102     return (currentTime.Int64()- TTime(TDateTime(1970,EJanuary,0,0,0,0,0)).Int64()) / 1000LL;
   102     return (currentTime.Int64()- TTime(TDateTime(1970,EJanuary,0,0,0,0,0)).Int64()) / 1000LL;
   103 }
   103 }
   104 */
   104 
   105 void TickerProvider::RunL()
   105 void TickerProvider::RunL()
   106 {
   106 {
   107     JELOG2(EJavaCaptain);
   107     JELOG2(EJavaCaptain);
   108 
   108 
   109     mNextTickAt = 0LL;
   109     mNextTickAt = 0LL;