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: Definition module for Connection Method Manager
18 #ifndef CMMANAGERDEF_H
19 #define CMMANAGERDEF_H
30 enum TSnapMetadataField
33 * If set this destination is for internet usage.
34 * There can be only one such destination.
35 * (TBool - default: EFalse)
38 ESnapMetadataInternet = 0x00000001,
41 * If set this destination is highlighted by default
42 * in the Agent dialog.
43 * (TBool - default: EFalse)
45 ESnapMetadataHighlight = 0x00000002,
48 * If set this destination is hidden in the
50 * (TBool - default: EFalse)
52 ESnapMetadataHiddenAgent = 0x00000004,
54 * This set of flags identifies the fixed destinations which have localised names.
55 * The possible values for this flag-set are the enums of TLocalisedDestinations.
57 ESnapMetadataDestinationIsLocalised = 0x000000F0,
60 * This set of flags identifies the fixed destinations for fixed
62 * The possible values for this flag-set are the enums of TSnapPurpose.
64 ESnapMetadataPurpose = 0x00000F00
68 * This is the enum set of the TSnapMetadataField's ESnapMetadataDestinationIsLocalised
70 enum TLocalisedDestinations
73 * Used to sign that the destination is not localised at all
75 ENotLocalisedDest = 0x00000000,
78 * Used to sign that the destination is localised as 'Internet'
80 ELocalisedDestInternet = 0x00000001,
83 * Used to sign that the destination is localised as 'Wap'
85 ELocalisedDestWap = 0x00000002,
88 * Used to sign that the destination is localised as 'MMS'
90 ELocalisedDestMMS = 0x00000003,
93 * Used to sign that the destination is localised as 'Intranet'
95 ELocalisedDestIntranet = 0x00000004
99 * This is the enum set of the TSnapMetadataField's ESnapMetadataPurpose
103 ESnapPurposeUnknown = 0x00000000,
106 * Used to sign that the destination is identified as 'Internet'
108 ESnapPurposeInternet = 0x00000001,
111 * Used to sign that the destination is identified as 'Operator'
113 ESnapPurposeOperator = 0x00000002,
116 * Used to sign that the destination is identified as 'MMS'
118 ESnapPurposeMMS = 0x00000003,
121 * Used to sign that the destination is identified as 'Intranet'
123 ESnapPurposeIntranet = 0x00000004
129 enum TProtectionLevel
131 EProtLevel0 = 0, /**<
135 EProtLevel1 = 1, /**<
136 * A destination and its contents
139 EProtLevel2 = 2, /**<
144 * Note: Level 3 - Set the ECmProtected attr on
149 const TInt KDataMobilitySelectionPolicyPriorityWildCard = 256;
150 } // namespace CMManager
153 * TBearerPriority is a representation of a bearer priority defined in
159 NONSHARABLE_CLASS( TBearerPriority )
163 HBufC* iServiceType; /**<
164 * Name of the service table to identify
168 TUint32 iPriority; /**<
169 * Priority of the bearer.
170 * Values must be unique within the table
173 TUint32 iUIPriority; /**<
174 * Priority of this bearer type when shown
175 * in UI for configuring a new IAP.
176 * Values must be unique within the table
180 #endif // CMMANAGERDEF_H