1 /* |
1 /* |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2009 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". |
327 */ |
327 */ |
328 void CompleteGetCurrentActiveUSimApplication( |
328 void CompleteGetCurrentActiveUSimApplication( |
329 CMmDataPackage* aDataPackage, |
329 CMmDataPackage* aDataPackage, |
330 TInt aErrorValue ); |
330 TInt aErrorValue ); |
331 |
331 |
332 /** |
|
333 * Completes an outstanding GetPreferredNetworksListPhase1L, |
|
334 * which retrieves Preferred Networks List from LTSY Layer |
|
335 * |
|
336 * @param aError: Error value |
|
337 * @param aDataPackage: contains Preferred Networks List from LTSY layer |
|
338 */ |
|
339 void CompleteGetPreferredNetworksListPhase1(TInt aError, CMmDataPackage* aDataPackage); |
|
340 |
|
341 /** |
|
342 * Completes an outstanding StorePreferredNetworksListL, |
|
343 * which stores Preferred Networks List to LTSY layer |
|
344 * |
|
345 * @param aError: Error value |
|
346 */ |
|
347 void CompleteStorePreferredNetworksList(TInt aError); |
|
348 |
|
349 private: |
332 private: |
350 |
333 |
351 /** |
334 /** |
352 * C++ default constructor. |
335 * C++ default constructor. |
353 */ |
336 */ |
937 * This function cancels an outstanding request for get current |
920 * This function cancels an outstanding request for get current |
938 * active usim application |
921 * active usim application |
939 * |
922 * |
940 * @return KErrNone |
923 * @return KErrNone |
941 */ |
924 */ |
942 TInt GetCurrentActiveUSimApplicationCancel(); |
925 TInt GetCurrentActiveUSimApplicationCancel(); |
943 |
926 |
944 /** |
|
945 * Returns minimum size of a buffer to retreive the current Preferred Networks List from SIM |
|
946 * |
|
947 * @param aTsyReqHandle: Request handle |
|
948 * @param aId: pointer to the client id |
|
949 * @param aBufSize: pointer to the size of buffer |
|
950 * @return : Error value. |
|
951 */ |
|
952 TInt GetPreferredNetworksListPhase1L(const TTsyReqHandle aTsyReqHandle, |
|
953 RMobilePhone::TClientId const* aId, TInt* aBufSize); |
|
954 |
|
955 /** |
|
956 * Copies the current Preferred Networks List into the given buffer |
|
957 * |
|
958 * @param aTsyReqHandle: Request handle |
|
959 * @param aId: pointer to the client id |
|
960 * @param aBuffer: pointer to the buffer for retrieving the Preferred Networks List |
|
961 * @return TInt: Error value. |
|
962 */ |
|
963 TInt GetPreferredNetworksListPhase2(const TTsyReqHandle aTsyReqHandle, |
|
964 RMobilePhone::TClientId const* aId, TDes8* aBuffer); |
|
965 |
|
966 /** |
|
967 * Stores the Preferred Networks List into the SIM |
|
968 * |
|
969 * @param aTsyReqHandle: Request handle |
|
970 * @param aBuffer: pointer to the buffer for the Preferred Networks List to be stored |
|
971 * @return TInt: Error value. |
|
972 */ |
|
973 TInt StorePreferredNetworksListL(const TTsyReqHandle aTsyReqHandle, TDes8* aBuffer); |
|
974 |
|
975 /** |
|
976 * Cancels the request for Getting Preferred Networks List |
|
977 * |
|
978 * @param aTsyReqHandle: Request handle |
|
979 * @return : Error value. |
|
980 */ |
|
981 TInt GetPreferredNetworksListCancel(const TTsyReqHandle aTsyReqHandle); |
|
982 |
|
983 /** |
|
984 * Subscribes the notification for storing Preferred networks List |
|
985 * |
|
986 * @return TInt: Error value. |
|
987 */ |
|
988 TInt NotifyStorePreferredNetworksListChange(); |
|
989 |
|
990 /** |
|
991 * Cancels the notification request for storing Preferred Networks List |
|
992 * |
|
993 * @param aTsyReqHandle: Request handle |
|
994 * @return: Error value. |
|
995 */ |
|
996 TInt NotifyStorePreferredNetworksListChangeCancel(const TTsyReqHandle aTsyReqHandle); |
|
997 |
|
998 /** |
|
999 * Completes the notification request for storing Preferred Networks List |
|
1000 * |
|
1001 */ |
|
1002 void CompleteNotifyStorePreferredNetworksListChange(); |
|
1003 |
|
1004 protected: // Data |
927 protected: // Data |
1005 //None |
928 //None |
1006 |
929 |
1007 private: // Data |
930 private: // Data |
1008 |
931 |
1156 TCachedAttribute<RMobilePhone::TMobilePhoneCellInfoV9> iCachedCellInfoV9; |
1079 TCachedAttribute<RMobilePhone::TMobilePhoneCellInfoV9> iCachedCellInfoV9; |
1157 |
1080 |
1158 /** |
1081 /** |
1159 * Pointer to the current active usim application. |
1082 * Pointer to the current active usim application. |
1160 */ |
1083 */ |
1161 RMobilePhone::TAID* iRetCurrentActiveUSimApplication; |
1084 RMobilePhone::TAID* iRetCurrentActiveUSimApplication; |
1162 |
|
1163 /* |
|
1164 * Not owned, buffer size for reading preferred networks list |
|
1165 */ |
|
1166 TInt* iBufSizeGetPrefPLMN; |
|
1167 |
|
1168 /* |
|
1169 * Copy of client ID for reading preferred networks list |
|
1170 */ |
|
1171 RMobilePhone::TClientId* iClientIdGetPrefPLMN; |
|
1172 |
|
1173 /* |
|
1174 * Streamed contents of the retrieved preferred networks list |
|
1175 */ |
|
1176 CBufBase* iGetPrefPLMNList; |
|
1177 |
|
1178 /* |
|
1179 * Client supplied preferred networks list for storing to the SIM |
|
1180 */ |
|
1181 CMobilePhoneStoredNetworkList* iStorePrefPLMNList; |
|
1182 }; |
1085 }; |
1183 |
1086 |
1184 #endif // CMMNETSY_H |
1087 #endif // CMMNETSY_H |
1185 |
1088 |
1186 // End of File |
1089 // End of File |