javamanager/javacaptain/extensionplugins/preinstallerstarter/src.s60/preinstallerstarter.cpp
equal
deleted
inserted
replaced
17 * |
17 * |
18 */ |
18 */ |
19 |
19 |
20 |
20 |
21 #include <e32base.h> |
21 #include <e32base.h> |
|
22 #ifndef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
22 #include <apgcli.h> // for RApaLsSession |
23 #include <apgcli.h> // for RApaLsSession |
|
24 #endif |
23 #include <hal_data.h> |
25 #include <hal_data.h> |
24 #include <hal.h> |
26 #include <hal.h> |
25 #include <sysutil.h> |
27 #include <sysutil.h> |
26 |
28 |
27 #include "javaprocessconstants.h" |
29 #include "javaprocessconstants.h" |
318 |
320 |
319 /** |
321 /** |
320 * Register 'javalauncher.exe' as the midlet application type handler |
322 * Register 'javalauncher.exe' as the midlet application type handler |
321 * in AppArc. If necessary unregister old handler first. |
323 * in AppArc. If necessary unregister old handler first. |
322 */ |
324 */ |
|
325 #ifndef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
323 void PreinstallerStarter::registerMidletApplicationTypeHandler() |
326 void PreinstallerStarter::registerMidletApplicationTypeHandler() |
324 { |
327 { |
325 _LIT(KMidpAppArcPlugin, "javalauncher.exe"); |
328 _LIT(KMidpAppArcPlugin, "javalauncher.exe"); |
326 |
329 |
327 RApaLsSession appLstSession; |
330 RApaLsSession appLstSession; |
379 "PreinstallerStarter: registerMidletApplicationTypeHandler: " |
382 "PreinstallerStarter: registerMidletApplicationTypeHandler: " |
380 "Connecting to AppArc failed with error %d", |
383 "Connecting to AppArc failed with error %d", |
381 err); |
384 err); |
382 } |
385 } |
383 } |
386 } |
|
387 #endif |
384 |
388 |
385 void PreinstallerStarter::RunL() |
389 void PreinstallerStarter::RunL() |
386 { |
390 { |
387 LOG(EJavaCaptain, EInfo, "PreinstallerStarter::RunL started"); |
391 LOG(EJavaCaptain, EInfo, "PreinstallerStarter::RunL started"); |
388 |
392 |