31 |
31 |
32 #if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 ) |
32 #if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 ) |
33 #include <SWInstApi.h> |
33 #include <SWInstApi.h> |
34 #include <swi/sisregistrysession.h> |
34 #include <swi/sisregistrysession.h> |
35 #include <swi/sisregistrypackage.h> |
35 #include <swi/sisregistrypackage.h> |
|
36 #include <widgetregistryclient.h> |
36 #else |
37 #else |
37 #include <usif/sif/sif.h> |
38 #include <usif/sif/sif.h> |
38 #include <usif/scr/scr.h> //RSoftwareComponentRegistry |
39 #include <usif/scr/scr.h> //RSoftwareComponentRegistry |
39 #endif |
40 #endif |
40 #include <javaregistryincludes.h> |
41 #include <javaregistryincludes.h> |
41 #include <widgetregistryclient.h> |
|
42 |
42 |
43 using namespace Java; |
43 using namespace Java; |
44 #if ( SYMBIAN_VERSION_SUPPORT >= SYMBIAN_4 ) |
44 #if ( SYMBIAN_VERSION_SUPPORT >= SYMBIAN_4 ) |
45 _LIT8( KSisxMimeType, "x-epoc/x-sisx-app" ); |
45 _LIT8( KSisxMimeType, "x-epoc/x-sisx-app" ); |
46 _LIT8( KSisMimeType, "application/vnd.symbian.install" ); |
46 _LIT8( KSisMimeType, "application/vnd.symbian.install" ); |
47 _LIT8( KPipMimeType, "application/x-pip" ); |
47 _LIT8( KPipMimeType, "application/x-pip" ); |
48 _LIT8( KJadMIMEType, "text/vnd.sun.j2me.app-descriptor" ); |
48 _LIT8( KJadMIMEType, "text/vnd.sun.j2me.app-descriptor" ); |
49 _LIT8( KJarMIMEType, "application/java-archive" ); |
49 _LIT8( KJarMIMEType, "application/java-archive" ); |
50 _LIT8( KJavaMIMEType, "application/java"); |
50 _LIT8( KJavaMIMEType, "application/java"); |
51 _LIT8( KJarxMIMEType, "application/x-java-archive"); |
51 _LIT8( KJarxMIMEType, "application/x-java-archive"); |
|
52 _LIT8( KWidgetMime, "application/x-nokia-widget"); |
52 #endif |
53 #endif |
53 |
54 |
54 // CONSTANTS |
55 // CONSTANTS |
55 const static TUid KAppServiceUid = { 0x1020DEC7 }; //This is Uid of AppServiceOS |
56 const static TUid KAppServiceUid = { 0x1020DEC7 }; //This is Uid of AppServiceOS |
56 |
57 |