60 // produces pclint warnings |
60 // produces pclint warnings |
61 _LIT_SECURITY_POLICY_C1( KMPMSortSnapReadPolicy, ECapability_None ); |
61 _LIT_SECURITY_POLICY_C1( KMPMSortSnapReadPolicy, ECapability_None ); |
62 |
62 |
63 // Write policy |
63 // Write policy |
64 _LIT_SECURITY_POLICY_C1( KMPMSortSnapWritePolicy, ECapabilityNetworkControl ); |
64 _LIT_SECURITY_POLICY_C1( KMPMSortSnapWritePolicy, ECapabilityNetworkControl ); |
|
65 |
|
66 // Definitions for Reading/Writing user connection data |
|
67 // to publish and subscribe API |
|
68 // |
|
69 // UID of the category (note that uid is the same as sort snap category) |
|
70 const TUid KMPMUserConnectionCategory = { 0x101f6d3a }; |
|
71 |
|
72 // Keys for this category |
|
73 const TUint KMPMPSKeyUserConnectionSnap = 10001; |
|
74 const TUint KMPMPSKeyUserConnectionIap = 10002; |
|
75 |
|
76 // Property types |
|
77 const TInt KMPMUserConnectionSnapType = RProperty::EInt; |
|
78 const TInt KMPMUserConnectionIapType = RProperty::EInt; |
|
79 |
|
80 // Read policy, no capabilities required |
|
81 // This format is used instead of _LIT_SECURITY_POLICY_PASS, which |
|
82 // produces pclint warnings |
|
83 _LIT_SECURITY_POLICY_C1( KMPMUserConnectionReadPolicy, ECapability_None ); |
|
84 |
|
85 // Write policy |
|
86 _LIT_SECURITY_POLICY_C1( KMPMUserConnectionWritePolicy, ECapabilityNetworkControl ); |
|
87 |
|
88 // Definitions for Reading/Writing active connection data |
|
89 // to publish and subscribe API |
|
90 // |
|
91 // UID of the category |
|
92 const TUid KMPMActiveConnectionCategory = { 0x101f6d3a }; |
|
93 |
|
94 // Property types |
|
95 const TInt KMPMActiveConnectionIapType = RProperty::EInt; |
|
96 const TInt KMPMActiveConnectionSnapType = RProperty::EInt; |
|
97 const TInt KMPMActiveConnectionBearerType = RProperty::EInt; |
|
98 |
|
99 // Keys for active connection category |
|
100 |
|
101 /** |
|
102 * Iap Id of the active connection. |
|
103 * If set to zero then no active connection |
|
104 */ |
|
105 const TUint KMPMPSKeyActiveConnectionIap = 10003; |
|
106 |
|
107 /** |
|
108 * Snap Id of the active connection. |
|
109 * If set to zero then possible iap connection |
|
110 */ |
|
111 const TUint KMPMPSKeyActiveConnectionSnap = 10004; |
|
112 |
|
113 /** |
|
114 * Possible values: |
|
115 * 0, |
|
116 * KCommDbBearerVirtual, |
|
117 * KCommDbBearerWLAN, |
|
118 * KCommDbBearerWcdma, |
|
119 * KCommDbBearerUnknown, |
|
120 */ |
|
121 const TUint KMPMPSKeyActiveConnectionBearer = 10005; |
|
122 |
|
123 // Read policy, no capabilities required |
|
124 // This format is used instead of _LIT_SECURITY_POLICY_PASS, which |
|
125 // produces pclint warnings |
|
126 _LIT_SECURITY_POLICY_C1( KMPMActiveConnectionReadPolicy, ECapability_None ); |
|
127 |
|
128 // Write policy |
|
129 _LIT_SECURITY_POLICY_C1( KMPMActiveConnectionWritePolicy, ECapabilityNetworkControl ); |
65 |
130 |
66 // MACROS |
131 // MACROS |
67 _LIT( KPanicCategory, "MPM Client" ); |
132 _LIT( KPanicCategory, "MPM Client" ); |
68 |
133 |
69 // DATA TYPES |
134 // DATA TYPES |