equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
411 * @since 5.1 |
411 * @since 5.1 |
412 */ |
412 */ |
413 TBool UseUserConnPref(); |
413 TBool UseUserConnPref(); |
414 |
414 |
415 /** |
415 /** |
|
416 * Returns VPN user connection usage status. |
|
417 * @return ETrue if VPN user connection is used in this session. |
|
418 */ |
|
419 inline TBool VpnUserConnectionUsed() const; |
|
420 |
|
421 /** |
|
422 * Sets VPN user connection usage status. |
|
423 * @param aEnabled Informs if VPN user connection is used. |
|
424 */ |
|
425 void SetVpnUserConnectionUsed( const TBool aEnabled ); |
|
426 |
|
427 /** |
416 * Returns id of the client. |
428 * Returns id of the client. |
417 * |
429 * |
418 * @since 5.0 |
430 * @since 5.0 |
419 * @return Id of the client |
431 * @return Id of the client |
420 */ |
432 */ |
924 |
936 |
925 // Iap selection object |
937 // Iap selection object |
926 // |
938 // |
927 CMPMIapSelection* iIapSelection; |
939 CMPMIapSelection* iIapSelection; |
928 |
940 |
929 // Stored state of migrating to carrier |
941 // Stored state of migrating to carrier |
930 // |
942 // |
931 TMigrateToCarrierState iMigrateState; |
943 TMigrateToCarrierState iMigrateState; |
932 |
944 |
933 // Last Iap notified using PreferredIap-notification |
945 // Last Iap notified using PreferredIap-notification |
934 // |
946 // |
935 TUint32 iLastNotifiedIap; |
947 TUint32 iLastNotifiedIap; |
936 |
948 |
937 // Iap to which connection is migrating |
949 // Iap to which connection is migrating |
938 // |
950 // |
939 TUint32 iMigrateIap; |
951 TUint32 iMigrateIap; |
940 |
952 |
941 // Set when this session is user connection |
953 // Set when this session is user connection |
942 // |
954 // |
943 TBool iUserConnection; |
955 TBool iUserConnection; |
|
956 |
|
957 // Set when this session uses VPN user connection |
|
958 // |
|
959 TBool iVpnUserConnectionUsed; |
|
960 |
944 }; |
961 }; |
945 |
962 |
946 #include "mpmserversession.inl" |
963 #include "mpmserversession.inl" |
947 |
964 |
948 #endif // MPMSERVERSESSION_H |
965 #endif // MPMSERVERSESSION_H |