phoneapp/phoneui/src/cphoneappui.cpp
branchRCL_3
changeset 34 b68fcd923911
parent 25 91c2fb4b78df
equal deleted inserted replaced
31:ba54057fe027 34:b68fcd923911
    33 #include <barsread.h>
    33 #include <barsread.h>
    34 #include <coemain.h>
    34 #include <coemain.h>
    35 #include <AknsConstants.h>   // KAknsMessageSkinChange
    35 #include <AknsConstants.h>   // KAknsMessageSkinChange
    36 #include <bautils.h>
    36 #include <bautils.h>
    37 #include <StringLoader.h>
    37 #include <StringLoader.h>
    38 #include <aknsoundsystem.h>
       
    39 #include <aknnotewrappers.h> // for Notification for startup...
    38 #include <aknnotewrappers.h> // for Notification for startup...
    40 #include <eikbtgpc.h>
    39 #include <eikbtgpc.h>
    41 #include <eiksoftkeyimage.h> // EikSoftkeyImage
    40 #include <eiksoftkeyimage.h> // EikSoftkeyImage
    42 #include <featmgr.h>         // Feature Manager
    41 #include <featmgr.h>         // Feature Manager
    43 #include <bldvariant.hrh>    // System variant definition
    42 #include <bldvariant.hrh>    // System variant definition
   127     iEnvChangeNotifier = CEnvironmentChangeNotifier::NewL( 
   126     iEnvChangeNotifier = CEnvironmentChangeNotifier::NewL( 
   128         CActive::EPriorityStandard, TCallBack( HandleCallBackL, this ) );
   127         CActive::EPriorityStandard, TCallBack( HandleCallBackL, this ) );
   129         
   128         
   130     iEnvChangeNotifier->Start();
   129     iEnvChangeNotifier->Start();
   131 
   130 
   132     // Push key sounds to sound system.
       
   133     CAknKeySoundSystem* keySounds = KeySounds();
       
   134     keySounds->PushContextL( R_PHONEUI_DEFAULT_SKEY_LIST );
       
   135    
       
   136     iPhoneViewController = CPhoneViewController::NewL( ClientRect() );
   131     iPhoneViewController = CPhoneViewController::NewL( ClientRect() );
   137     iPhoneUIController = CPhoneUIController::NewL( *iPhoneViewController );
   132     iPhoneUIController = CPhoneUIController::NewL( *iPhoneViewController );
   138 
   133 
   139     // Blacklist singleton is initialized here
   134     // Blacklist singleton is initialized here
   140     // return value is ignored since we do not require its services in this class
   135     // return value is ignored since we do not require its services in this class