bluetoothengine/btui/Ecom/src/BTUIPairedDevicesView.cpp
changeset 17 f05641c183ff
parent 15 00f9ee97d895
equal deleted inserted replaced
15:00f9ee97d895 17:f05641c183ff
    41 
    41 
    42 #include "debug.h"             
    42 #include "debug.h"             
    43 #include "btui.h" 						// Global declarations
    43 #include "btui.h" 						// Global declarations
    44 #include "BTUIPairedDevicesView.h"
    44 #include "BTUIPairedDevicesView.h"
    45 #include "BTUIDeviceContainer.h"
    45 #include "BTUIDeviceContainer.h"
    46 #include <SecondaryDisplay/BtuiSecondaryDisplayAPI.h>
    46 #include <secondarydisplay/BtuiSecondaryDisplayAPI.h>
    47 #include <csxhelp/bt.hlp.hrh>   // Help IDs
    47 #include <csxhelp/bt.hlp.hrh>   // Help IDs
    48 
    48 
    49 #include <gstabhelper.h>
    49 #include <gstabhelper.h>
    50 #include <btui.mbg>						// Tab icon for General Setting
    50 #include <btui.mbg>						// Tab icon for General Setting
    51 #include <bluetoothuiutil.h>
    51 #include <bluetoothuiutil.h>
  1230           	else
  1230           	else
  1231           		{
  1231           		{
  1232        			// Showing a note in this case would always show a note with "%U" in it
  1232        			// Showing a note in this case would always show a note with "%U" in it
  1233        			// so the note is not shown at all
  1233        			// so the note is not shown at all
  1234        			TRACE_INFO(_L("KErrAlreadyExists, but no device given, not showing a notification"))
  1234        			TRACE_INFO(_L("KErrAlreadyExists, but no device given, not showing a notification"))
       
  1235 				CleanupStack::PopAndDestroy(&stringholder);
  1235 	          	break;	
  1236 	          	break;	
  1236           		}
  1237           		}
  1237 
  1238 
  1238            	CAknInformationNote* note = new (ELeave) CAknInformationNote();
  1239            	CAknInformationNote* note = new (ELeave) CAknInformationNote();
  1239             
  1240             
  1722 			    ( ( iMenuDevice.iStatus & EStatusBtuiConnected ) != ( device.iStatus & EStatusBtuiConnected ) ) )
  1723 			    ( ( iMenuDevice.iStatus & EStatusBtuiConnected ) != ( device.iStatus & EStatusBtuiConnected ) ) )
  1723 			    {
  1724 			    {
  1724 			    TRACE_INFO(_L("Device status changed, update menupane"));
  1725 			    TRACE_INFO(_L("Device status changed, update menupane"));
  1725 			    iMenuDevice = device;
  1726 			    iMenuDevice = device;
  1726 			    iActiveMenuPane->Close();
  1727 			    iActiveMenuPane->Close();
  1727 			    TRAP_IGNORE( this->ProcessCommandL(EAknSoftkeyOptions) );
  1728 			    TRAP_IGNORE( this->ProcessCommandL(EAknSoftkeyContextOptions) );
  1728 			    }
  1729 			    }
  1729 		    }
  1730 		    }
  1730 	    }
  1731 	    }
  1731 	if(err!= KErrNone)	    
  1732 	if(err!= KErrNone)	    
  1732         {
  1733         {