2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Declaration of default connection values
18 #ifndef C_CMDEFCONNVALUES_H
19 #define C_CMDEFCONNVALUES_H
34 * The user selected a destination
36 ECmDefConnDestination,
39 * The user selected a connection method
41 ECmDefConnConnectionMethod
44 struct TCmDefConnValue
47 * Type of default connection
52 * Id of the selected destination or connection method
55 // -----------------------------------------------------------------------------
56 // TCmDefConnValue::operator==
57 // -----------------------------------------------------------------------------
59 inline TBool TCmDefConnValue::operator==( TCmDefConnValue& aDCSettingSelection ) const
61 return ( (iType == aDCSettingSelection.iType) && ( iId == aDCSettingSelection.iId ) );
64 // -----------------------------------------------------------------------------
65 // TCmDefConnValue::operator!=
66 // -----------------------------------------------------------------------------
68 inline TBool TCmDefConnValue::operator!=( TCmDefConnValue& aDCSettingSelection ) const
70 return (!( (iType == aDCSettingSelection.iType) && ( iId == aDCSettingSelection.iId ) ));
73 #endif // C_CMDEFCONNVALUES_H