javamanager/javacaptain/extensionplugins/preinstallerstarter/inc/preinstallerstarter.h
equal
deleted
inserted
replaced
35 |
35 |
36 OS_NONSHARABLE_CLASS(PreinstallerStarter) : public CActive, |
36 OS_NONSHARABLE_CLASS(PreinstallerStarter) : public CActive, |
37 public EventConsumerInterface, |
37 public EventConsumerInterface, |
38 public ExtensionPluginInterface |
38 public ExtensionPluginInterface |
39 { |
39 { |
|
40 enum TPreinstallerStartMode |
|
41 { |
|
42 ENormal, |
|
43 EIad, |
|
44 ERomUpgrade |
|
45 }; |
|
46 |
40 public: |
47 public: |
41 PreinstallerStarter(); |
48 PreinstallerStarter(); |
42 virtual ~PreinstallerStarter(); |
49 virtual ~PreinstallerStarter(); |
43 |
50 |
44 // PluginInterface |
51 // PluginInterface |
56 // CActive |
63 // CActive |
57 virtual void RunL(); |
64 virtual void RunL(); |
58 virtual void DoCancel(); |
65 virtual void DoCancel(); |
59 |
66 |
60 private: |
67 private: |
61 void startPreinstaller(TBool aIadBoot); |
68 void startPreinstaller(enum TPreinstallerStartMode aStartMode); |
62 #ifndef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
69 #ifndef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
63 void registerMidletApplicationTypeHandler(); |
70 void registerMidletApplicationTypeHandler(); |
|
71 #endif |
|
72 |
|
73 #ifdef RD_JAVA_S60_RELEASE_5_0_ROM |
|
74 // If necessary start javaafterflashconverter.exe and return ETrue, |
|
75 // else return EFalse |
|
76 TBool startConverter(); |
64 #endif |
77 #endif |
65 |
78 |
66 CoreInterface* mCore; |
79 CoreInterface* mCore; |
67 RProcess* mPreinstaller; |
80 RProcess* mPreinstaller; |
68 }; |
81 }; |