--- a/mmsharing/mmshui/src/musuibackgroundviewcontainer.cpp Wed Sep 15 12:09:15 2010 +0300
+++ b/mmsharing/mmshui/src/musuibackgroundviewcontainer.cpp Wed Oct 13 14:28:06 2010 +0300
@@ -18,7 +18,6 @@
#include "musuibackgroundviewcontainer.h"
#include "musuiappui.h"
#include "muslogger.h" // debug logging
-#include "musuieventcontroller.h"
#include <AknsControlContext.h>
#include <AknsBasicBackgroundControlContext.h>
@@ -55,8 +54,7 @@
// -----------------------------------------------------------------------------
//
CMusUiBackgroundViewContainer::CMusUiBackgroundViewContainer(
- TInt aOrdinalPosition ) : iOrdinalPosition( aOrdinalPosition ),
- iController( NULL )
+ TInt aOrdinalPosition ) : iOrdinalPosition( aOrdinalPosition )
{
}
@@ -174,16 +172,6 @@
// -----------------------------------------------------------------------------
-// Sets the event controller
-// -----------------------------------------------------------------------------
-//
-void CMusUiBackgroundViewContainer::SetUiEventController( CMusUiEventController* aController )
- {
- iController = aController;
- }
-
-
-// -----------------------------------------------------------------------------
// Called by framework when the view size is changed
// -----------------------------------------------------------------------------
//
@@ -203,33 +191,6 @@
// -----------------------------------------------------------------------------
-// From base class CCoeControl. Handles a change to the application's
-// resources which are shared across the environment.
-// -----------------------------------------------------------------------------
-//
-void CMusUiBackgroundViewContainer::HandleResourceChange( TInt aType )
- {
- MUS_LOG( "mus: [MUSUI ] -> CMusUiBackgroundViewContainer::HandleResourceChange" );
- CCoeControl::HandleResourceChange( aType );
-
- TBool displayEnabled( EFalse );
- if ( iController )
- {
- TRAP_IGNORE( displayEnabled = iController->IsDisplayEnabledL() )
- }
-
- if ( aType == KEikDynamicLayoutVariantSwitch && !displayEnabled )
- {
- TRect mainPaneRect;
- AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EMainPane,
- mainPaneRect );
- SetRect( mainPaneRect );
- }
- MUS_LOG( "mus: [MUSUI ] <- CMusUiBackgroundViewContainer::HandleResourceChange" );
- }
-
-
-// -----------------------------------------------------------------------------
// Called by framework when to retrieve the no. of controls.
// -----------------------------------------------------------------------------
//