equal
deleted
inserted
replaced
115 NONSHARABLE_CLASS( TMpmSnapBuffer ) |
115 NONSHARABLE_CLASS( TMpmSnapBuffer ) |
116 { |
116 { |
117 public: |
117 public: |
118 // Zero values |
118 // Zero values |
119 inline void Reset(); |
119 inline void Reset(); |
120 inline const TInt Count() const; |
120 inline TInt Count() const; |
121 |
121 |
122 public: |
122 public: |
123 TUint iCount; |
123 TUint iCount; |
124 TUint32 iIapId[KMpmMaxIAPCount]; |
124 TUint32 iIapId[KMpmMaxIAPCount]; |
125 }; |
125 }; |
273 return reinterpret_cast<SPolicyConnPref*>(UserPtr()); |
273 return reinterpret_cast<SPolicyConnPref*>(UserPtr()); |
274 } |
274 } |
275 |
275 |
276 public: |
276 public: |
277 enum { EConnS60PolicyPref = 0x0f }; // TConnPref has defined up to 0x07. |
277 enum { EConnS60PolicyPref = 0x0f }; // TConnPref has defined up to 0x07. |
278 inline TPolicyConnPref::TPolicyConnPref() |
278 inline TPolicyConnPref() |
279 : TConnPref( TPolicyConnPref::EConnS60PolicyPref ) |
279 : TConnPref( TPolicyConnPref::EConnS60PolicyPref ) |
280 { |
280 { |
281 SetIapId( 0 ); |
281 SetIapId( 0 ); |
282 SetNetId( 0 ); |
282 SetNetId( 0 ); |
283 SetSnapAPId( 0 ); |
283 SetSnapAPId( 0 ); |
389 * preferences. |
389 * preferences. |
390 */ |
390 */ |
391 EConnTypeExplicit |
391 EConnTypeExplicit |
392 }; |
392 }; |
393 |
393 |
394 inline TMpmConnPref::TMpmConnPref() |
394 inline TMpmConnPref() |
395 : TConnPref( TMpmConnPref::EConnPrefMpm ) |
395 : TConnPref( TMpmConnPref::EConnPrefMpm ) |
396 { |
396 { |
397 SetSnapPurpose( CMManager::ESnapPurposeUnknown ); |
397 SetSnapPurpose( CMManager::ESnapPurposeUnknown ); |
398 SetSnapId( 0 ); |
398 SetSnapId( 0 ); |
399 SetIapId( 0 ); |
399 SetIapId( 0 ); |