javamanager/javasettings/appmngrplugin/src/appmngr2midletruntime.cpp
branchRCL_3
changeset 60 6c158198356e
parent 24 0fd27995241b
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
    35 #include <SWInstDefs.h>                 // KJadMIMEType, KJarMIMEType
    35 #include <SWInstDefs.h>                 // KJadMIMEType, KJarMIMEType
    36 #include <aknViewAppUi.h>               // CAknViewAppUi
    36 #include <aknViewAppUi.h>               // CAknViewAppUi
    37 #include <bldvariant.hrh>
    37 #include <bldvariant.hrh>
    38 
    38 
    39 #include "logger.h"                     // LOG
    39 #include "logger.h"                     // LOG
       
    40 #include "iconsizeutils.h"              // IconSizeUtils::GetIconSizes
    40 
    41 
    41 // MIDlet icon file name
    42 // MIDlet icon file name
    42 _LIT(KAppMngr2MidletIconFileNameMif, "AppMngr2Midlet.mif");
    43 _LIT(KAppMngr2MidletIconFileNameMif, "AppMngr2Midlet.mif");
    43 
    44 
    44 // ======== MEMBER FUNCTIONS ========
    45 // ======== MEMBER FUNCTIONS ========
   268 void CAppMngr2MidletRuntime::ConstructL()
   269 void CAppMngr2MidletRuntime::ConstructL()
   269 {
   270 {
   270     LOG(EJavaAppMngrPlugin, EInfo, " + CAppMngr2MidletRuntime::ConstructL ");
   271     LOG(EJavaAppMngrPlugin, EInfo, " + CAppMngr2MidletRuntime::ConstructL ");
   271     iJavaRegistry = Java::CJavaRegistry::NewL();
   272     iJavaRegistry = Java::CJavaRegistry::NewL();
   272     iResourceHandler = CAppMngr2MidletResourceHandler::NewL();
   273     iResourceHandler = CAppMngr2MidletResourceHandler::NewL();
       
   274     iJavaRasterIconSize = IconSizeUtils::GetIconSizes().iAppMgrIconSize;
       
   275     ILOG2(EJavaAppMngrPlugin, "Java icon size (%d, %d)", 
       
   276         iJavaRasterIconSize.iWidth, iJavaRasterIconSize.iHeight);
   273     LOG(EJavaAppMngrPlugin, EInfo, " - CAppMngr2MidletRuntime::ConstructL ");
   277     LOG(EJavaAppMngrPlugin, EInfo, " - CAppMngr2MidletRuntime::ConstructL ");
   274 }
   278 }