77 TUint iId; |
77 TUint iId; |
78 // ----------------------------------------------------------------------------- |
78 // ----------------------------------------------------------------------------- |
79 // TCmDCSettingSelection::operator== |
79 // TCmDCSettingSelection::operator== |
80 // ----------------------------------------------------------------------------- |
80 // ----------------------------------------------------------------------------- |
81 // |
81 // |
82 inline TBool TCmDCSettingSelection::operator==( TCmDCSettingSelection& aDCSettingSelection ) const |
82 inline TBool operator==( TCmDCSettingSelection& aDCSettingSelection ) const |
83 { |
83 { |
84 return ( (iResult == aDCSettingSelection.iResult) && ( iId == aDCSettingSelection.iId ) ); |
84 return ( (iResult == aDCSettingSelection.iResult) && ( iId == aDCSettingSelection.iId ) ); |
85 }; |
85 }; |
86 |
86 |
87 // ----------------------------------------------------------------------------- |
87 // ----------------------------------------------------------------------------- |
88 // TCmDCSettingSelection::operator!= |
88 // TCmDCSettingSelection::operator!= |
89 // ----------------------------------------------------------------------------- |
89 // ----------------------------------------------------------------------------- |
90 // |
90 // |
91 inline TBool TCmDCSettingSelection::operator!=( TCmDCSettingSelection& aDCSettingSelection ) const |
91 inline TBool operator!=( TCmDCSettingSelection& aDCSettingSelection ) const |
92 { |
92 { |
93 return (!( (iResult == aDCSettingSelection.iResult) && ( iId == aDCSettingSelection.iId ) )); |
93 return (!( (iResult == aDCSettingSelection.iResult) && ( iId == aDCSettingSelection.iId ) )); |
94 }; |
94 }; |
95 // ----------------------------------------------------------------------------- |
95 // ----------------------------------------------------------------------------- |
96 // TCmDCSettingSelection::ConvertToDefConn |
96 // TCmDCSettingSelection::ConvertToDefConn |
97 // ----------------------------------------------------------------------------- |
97 // ----------------------------------------------------------------------------- |
98 // |
98 // |
99 inline TCmDefConnValue TCmDCSettingSelection::ConvertToDefConn( ) const |
99 inline TCmDefConnValue ConvertToDefConn( ) const |
100 { |
100 { |
101 TCmDefConnValue defConnValue; |
101 TCmDefConnValue defConnValue; |
102 defConnValue.iType = ECmDefConnAlwaysAsk; |
102 defConnValue.iType = ECmDefConnAlwaysAsk; |
103 defConnValue.iId = 0; |
103 defConnValue.iId = 0; |
104 switch ( iResult ) |
104 switch ( iResult ) |