javamanager/javainstaller/appinstuiplugin/src/javainstalllauncher.cpp
changeset 61 bf7ee68962da
parent 35 85266cc22c7f
child 64 0ea12c182930
equal deleted inserted replaced
48:e0d6e9bd3ca7 61:bf7ee68962da
   226 
   226 
   227     rJavaInstaller.Resume();
   227     rJavaInstaller.Resume();
   228 
   228 
   229     // Do NOT close rJavaInstaller now -> the caller gets notification when the
   229     // Do NOT close rJavaInstaller now -> the caller gets notification when the
   230     // process actually closes.
   230     // process actually closes.
   231     iHandlesToClose.Append(rJavaInstaller);
   231     iHandlesToClose.AppendL(rJavaInstaller);
   232 }
   232 }
   233 
   233 
   234 void CJavaInstallLauncher::SilentInstallL(RFile& aFile,
   234 void CJavaInstallLauncher::SilentInstallL(RFile& aFile,
   235         TInstallReq& aInstallParams, TBool /*aIsDRM*/, TInstallOptions& aOptions,
   235         TInstallReq& aInstallParams, TBool /*aIsDRM*/, TInstallOptions& aOptions,
   236         TRequestStatus& aStatus)
   236         TRequestStatus& aStatus)
   408               "CJavaInstallLauncher::SilentInstallL: starting JavaInstaller failed, err=%d", err);
   408               "CJavaInstallLauncher::SilentInstallL: starting JavaInstaller failed, err=%d", err);
   409     }
   409     }
   410 
   410 
   411     // Do NOT close rJavaInstaller now -> the caller gets notification when the
   411     // Do NOT close rJavaInstaller now -> the caller gets notification when the
   412     // process actually closes.
   412     // process actually closes.
   413     iHandlesToClose.Append(rJavaInstaller);
   413     iHandlesToClose.AppendL(rJavaInstaller);
   414 }
   414 }
   415 
   415 
   416 void CJavaInstallLauncher::UninstallL(const TUid& aUid, const TDesC8&, /*aMIME*/
   416 void CJavaInstallLauncher::UninstallL(const TUid& aUid, const TDesC8&, /*aMIME*/
   417                                       TRequestStatus& aStatus)
   417                                       TRequestStatus& aStatus)
   418 {
   418 {
   449               "CJavaInstallLauncher::UninstallL: starting JavaInstaller failed, err=%d", err);
   449               "CJavaInstallLauncher::UninstallL: starting JavaInstaller failed, err=%d", err);
   450     }
   450     }
   451 
   451 
   452     // Do NOT close rJavaInstaller now -> the caller gets notification when the
   452     // Do NOT close rJavaInstaller now -> the caller gets notification when the
   453     // process actually closes.
   453     // process actually closes.
   454     iHandlesToClose.Append(rJavaInstaller);
   454     iHandlesToClose.AppendL(rJavaInstaller);
   455 }
   455 }
   456 
   456 
   457 void CJavaInstallLauncher::SilentUninstallL(const TUid& aUid, const TDesC8&, /*aMIME*/
   457 void CJavaInstallLauncher::SilentUninstallL(const TUid& aUid, const TDesC8&, /*aMIME*/
   458         TUninstallOptions& /*aOptions*/, TRequestStatus& aStatus)
   458         TUninstallOptions& /*aOptions*/, TRequestStatus& aStatus)
   459 {
   459 {
   537               "CJavaInstallLauncher::SilentUninstallL: starting JavaInstaller failed, err=%d", err);
   537               "CJavaInstallLauncher::SilentUninstallL: starting JavaInstaller failed, err=%d", err);
   538     }
   538     }
   539 
   539 
   540     // Do NOT close rJavaInstaller now -> the caller gets notification when the
   540     // Do NOT close rJavaInstaller now -> the caller gets notification when the
   541     // process actually closes.
   541     // process actually closes.
   542     iHandlesToClose.Append(rJavaInstaller);
   542     iHandlesToClose.AppendL(rJavaInstaller);
   543 }
   543 }
   544 
   544 
   545 TBool CJavaInstallLauncher::IsAppShellUpdate()
   545 TBool CJavaInstallLauncher::IsAppShellUpdate()
   546 {
   546 {
   547     // All successfull install/uninstall operations cause need to
   547     // All successfull install/uninstall operations cause need to