menucontentsrv/srvsrc/mcsrunningappswgmonitor.cpp
branchRCL_3
changeset 8 d0529222e3f0
parent 1 844b978f8d5e
equal deleted inserted replaced
4:1a2a00e78665 8:d0529222e3f0
    21 #include <mmf/common/mmfcontrollerpluginresolver.h>
    21 #include <mmf/common/mmfcontrollerpluginresolver.h>
    22 
    22 
    23 #include "mcsrunningappswgmonitor.h"
    23 #include "mcsrunningappswgmonitor.h"
    24 #include "mcsrunningappshandler.h"
    24 #include "mcsrunningappshandler.h"
    25 #include "menueng.h"
    25 #include "menueng.h"
       
    26 
       
    27 const TInt KWindowGroupPosition = -1;
       
    28 const TInt KWindowGroupPriority = -1;
    26 
    29 
    27 // ---------------------------------------------------------
    30 // ---------------------------------------------------------
    28 // CMcsRunningAppsWgMonitor::NewL
    31 // CMcsRunningAppsWgMonitor::NewL
    29 // ---------------------------------------------------------
    32 // ---------------------------------------------------------
    30 //
    33 //
    89     //myWindowGroup.AutoForeground( EFalse );
    92     //myWindowGroup.AutoForeground( EFalse );
    90     iWg.DisableFocusChangeEvents();
    93     iWg.DisableFocusChangeEvents();
    91     iWg.DisableModifierChangedEvents();
    94     iWg.DisableModifierChangedEvents();
    92     iWg.DisableOnEvents();
    95     iWg.DisableOnEvents();
    93     iWg.DisableScreenChangeEvents();
    96     iWg.DisableScreenChangeEvents();
    94 
    97     iWg.SetOrdinalPosition( KWindowGroupPosition, KWindowGroupPriority );
    95     User::LeaveIfError( iWg.EnableGroupListChangeEvents() );    
    98     User::LeaveIfError( iWg.EnableGroupListChangeEvents() );    
    96     
       
    97     //it makes the soft keys working
    99     //it makes the soft keys working
    98     iWg.EnableReceiptOfFocus( EFalse );
   100     iWg.EnableReceiptOfFocus( EFalse );
    99     
   101     
   100     iWgName = CApaWindowGroupName::NewL( iWsSession );
   102     iWgName = CApaWindowGroupName::NewL( iWsSession );
   101     iWgName->SetSystem( ETrue );
   103     iWgName->SetSystem( ETrue );