diff -r c743ef5928ba -r f966699dea19 idlehomescreen/nativeuicontroller/src/appui.cpp --- a/idlehomescreen/nativeuicontroller/src/appui.cpp Tue Feb 02 00:04:13 2010 +0200 +++ b/idlehomescreen/nativeuicontroller/src/appui.cpp Fri Feb 19 22:42:37 2010 +0200 @@ -16,26 +16,8 @@ */ -#include "appui.h" -#include "ainativeui.hrh" -#include "ainativeuistrings.h" // string literals -#include "ainativeuiview.h" -#include "application.h" -#include "nativeuicontroller.h" -#include "aiuiframeworkobserver.h" -#include "aifweventhandler.h" -#include - -#include "aipropertyextension.h" -#include "aicontentmodel.h" -#include "aiuiidleintegration.h" -#include "activeidle2domaincrkeys.h" -#include "activeidle2domainpskeys.h" -#include "extrstandbycontainerif.h" -#include "debug.h" - +// System includes #include -#include #include #include #include @@ -51,6 +33,27 @@ #include #include +// User includes +#include +#include + +#include "appui.h" +#include "ainativeui.hrh" +#include "ainativeuistrings.h" // string literals +#include "ainativeuiview.h" +#include "application.h" +#include "nativeuicontroller.h" +#include "aifweventhandler.h" +#include + +#include "aicontentmodel.h" +#include "aiuiidleintegration.h" +#include "activeidle2domaincrkeys.h" +#include "activeidle2domainpskeys.h" +#include "extrstandbycontainerif.h" +#include "debug.h" + + namespace { _LIT( KResourceDrive, "Z:" ); @@ -193,9 +196,7 @@ } iFwEventHandler = iUiCtl->FwEventHandler(); - - iUiFwObserver = iUiCtl->UiFrameworkObserver(); - + TAiIdleKeySoundConfig keySoundConfig; keySoundConfig.iKeySounds = KeySounds(); keySoundConfig.iContextResId = R_NATIVEUI_DEFAULT_SKEY_LIST; @@ -328,11 +329,6 @@ void CAppUi::HandleForegroundEventL(TBool aForeground) { CAknAppUi::HandleForegroundEventL( aForeground ); - - if ( iUiFwObserver ) - { - iUiFwObserver->HandleForegroundEvent( aForeground ); - } } void CAppUi::HandleCommandL(TInt aCommand) @@ -463,11 +459,6 @@ } } - - if ( iUiFwObserver ) - { - iUiFwObserver->HandleResourceChange(aType); - } } void CAppUi::HandleWsEventL(const TWsEvent& aEvent, CCoeControl* aDestination)