1 /* |
1 /* |
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008-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". |
94 * @param aDestinationIds will store destination ids |
94 * @param aDestinationIds will store destination ids |
95 */ |
95 */ |
96 void GetDestinationsL( |
96 void GetDestinationsL( |
97 TDesC& aServiceName, |
97 TDesC& aServiceName, |
98 RArray<TUint32>& aDestinationIds ); |
98 RArray<TUint32>& aDestinationIds ); |
99 |
99 |
|
100 /** |
|
101 * Gets service´s destination Id where the given iapid belongs. |
|
102 * |
|
103 * @since S60 9.2 |
|
104 * @param aIapId internet accesspoint Id. |
|
105 * @param aError error code in return |
|
106 * @param aDestinationId returns destination id |
|
107 */ |
|
108 void GetDestinationL( |
|
109 TUint aIapId, TInt& aError, TUint32& aDestinationId ); |
|
110 |
100 /** |
111 /** |
101 * Gets all access point ids from snap. |
112 * Gets all access point ids from snap. |
102 * |
113 * |
103 * @since S60 5.0 |
114 * @since S60 5.0 |
104 * @param aIapIds will store iap ids |
115 * @param aIapIds will store iap ids |
105 * @param aDestinationId id of destination to use |
116 * @param aDestinationId id of destination to use |
106 */ |
117 */ |
107 void GetAccessPointsFromSnapL( |
118 void GetAccessPointsFromSnapL( |
108 RArray<TUint32>& aIapIds, |
119 RArray<TUint32>& aIapIds, |
109 TUint32 aDestinationId ); |
120 TUint32 aDestinationId ); |
110 |
121 |
|
122 /** |
|
123 * Gets all gprs accesspoints id's from the service's snap. |
|
124 * |
|
125 * @since S60 9.2 |
|
126 * @param aIapIds will store iap ids |
|
127 * @param aDestinationId id of destination to use |
|
128 * @return error. KErrNotFound if no gprs accesspoints |
|
129 */ |
|
130 TInt GetGprsAccessPointsSetToServiceSnapL( |
|
131 CDesCArray& aIaps, RArray<TUint32>& aIapIds, TUint aIapId ); |
|
132 |
|
133 /** |
|
134 * Checks given connection methods equality |
|
135 * |
|
136 * @since S60 9.2 |
|
137 * @param aIapId Iap Id. |
|
138 * @param aIapIdToCompare Iap Id to compare. |
|
139 * @return ETrue if equals |
|
140 */ |
|
141 TBool IsConnectionMethodSimilarL( |
|
142 TUint32 aIapId, TUint32 aIapIdToCompare ); |
|
143 |
111 private: |
144 private: |
112 |
145 |
113 CCchUiNotifConnectionHandler(); |
146 CCchUiNotifConnectionHandler(); |
114 |
147 |
115 void ConstructL(); |
148 void ConstructL(); |