cmmanager/gsconnsettingsplugin/src/gsconnsettingsplugin.cpp
branchRCL_3
changeset 45 4c83dcfb6f1a
parent 8 2e6c4614c58e
equal deleted inserted replaced
36:04408506c6e0 45:4c83dcfb6f1a
    58 // Constructor
    58 // Constructor
    59 // ---------------------------------------------------------------------------
    59 // ---------------------------------------------------------------------------
    60 //
    60 //
    61 CGSConnSettingsPlugin::CGSConnSettingsPlugin()
    61 CGSConnSettingsPlugin::CGSConnSettingsPlugin()
    62     : iResourceLoader( *iCoeEnv )
    62     : iResourceLoader( *iCoeEnv )
       
    63     , iProcessing( EFalse )
    63     {
    64     {
    64     }
    65     }
    65 
    66 
    66 // ---------------------------------------------------------------------------
    67 // ---------------------------------------------------------------------------
    67 // CGSConnSettingsPlugin::~CConnectivitySettingsPlugin()
    68 // CGSConnSettingsPlugin::~CConnectivitySettingsPlugin()
   327                     }
   328                     }
   328                     
   329                     
   329                 // In these cases the plugin is a dialog:
   330                 // In these cases the plugin is a dialog:
   330                 case EGSItemTypeSettingDialog:
   331                 case EGSItemTypeSettingDialog:
   331                 case EGSItemTypeSingleLargeDialog:
   332                 case EGSItemTypeSingleLargeDialog:
   332                      selectedPlugin->HandleSelection( EGSSelectionByMenu );
   333                     // Ignore duplicate Window's events
   333                      break;
   334                     if( iProcessing )
       
   335                         {
       
   336                         return;
       
   337                         }
       
   338                     
       
   339                     iProcessing = ETrue;
       
   340                     selectedPlugin->HandleSelection( EGSSelectionByMenu );
       
   341                     iProcessing = EFalse;
       
   342                     break;
   334                 default:
   343                 default:
   335                     break;
   344                     break;
   336                 }
   345                 }
   337             break;
   346             break;
   338             }        
   347             }