epoc32/include/commdb.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    12 //
    12 //
    13 // Description:
    13 // Description:
    14 // Comms Database public interface
    14 // Comms Database public interface
    15 // 
    15 // 
    16 //
    16 //
    17 
       
    18 
       
    19 
    17 
    20 /**
    18 /**
    21  @file
    19  @file
    22  @deprecated since v9.1. Functionality is replaced with commsdat.
    20  @deprecated since v9.1. Functionality is replaced with commsdat.
    23 */
    21 */
   248 	IMPORT_C CCommsDbConnectionPrefTableView* OpenConnectionPrefTableViewOnRankLC(TCommDbConnectionDirection aDirection, TUint32 aRank);
   246 	IMPORT_C CCommsDbConnectionPrefTableView* OpenConnectionPrefTableViewOnRankLC(TCommDbConnectionDirection aDirection, TUint32 aRank);
   249 
   247 
   250 	//DEPRECATED : Agent table has been removed. These functions have been
   248 	//DEPRECATED : Agent table has been removed. These functions have been
   251 	//				stubbed to return KErrNotSupported or leave with the same error.
   249 	//				stubbed to return KErrNotSupported or leave with the same error.
   252 	// Access agent settings. `aService` is one of: (`DIAL_OUT_ISP`,
   250 	// Access agent settings. `aService` is one of: (`DIAL_OUT_ISP`,
   253 	//	`DIAL_IN_ISP`, `OUTGOING_WCDMA` or `CDMA2000_PACKET_SERVICE_TABLE`). */
   251 	//	`DIAL_IN_ISP`, `OUTGOING_WCDMA'). */
   254 	IMPORT_C void SetAgentL(const TDesC& aService, const TDesC& aAgent);
   252 	IMPORT_C void SetAgentL(const TDesC& aService, const TDesC& aAgent);
   255 
   253 
   256 	IMPORT_C void SetAgentExtL(const TDesC& aService, const TDesC& aAgentExt);
   254 	IMPORT_C void SetAgentExtL(const TDesC& aService, const TDesC& aAgentExt);
   257 	IMPORT_C void GetAgentL(const TDesC& aService, TDes& aAgent);
   255 	IMPORT_C void GetAgentL(const TDesC& aService, TDes& aAgent);
   258 	IMPORT_C void GetAgentExtL(const TDesC& aService, TDes& aAgentExt);
   256 	IMPORT_C void GetAgentExtL(const TDesC& aService, TDes& aAgentExt);
   453 
   451 
   454 
   452 
   455 
   453 
   456 
   454 
   457 
   455 
   458 #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
   459 /**
   456 /**
   460 Convert a legacy field name to a CommsDat element Id
   457 Convert a legacy field name to a CommsDat element Id
   461 
   458 
   462 @internalTechnology
   459 @internalTechnology
   463 @prototype
       
   464 @param aFieldName A legacy commdb field name in the format "tableName\fieldName"
   460 @param aFieldName A legacy commdb field name in the format "tableName\fieldName"
   465 @return A Commsdat element Id
   461 @return A Commsdat element Id
   466 */
   462 */
   467 class CommDbShimUtil
   463 class CommDbShimUtil
   468 	{
   464 	{
   469 public:
   465 public:
   470 	IMPORT_C static TMDBElementId GetElementIdFromFieldNameL(const TDesC& aFieldName);
   466 	IMPORT_C static TMDBElementId GetElementIdFromFieldNameL(const TDesC& aFieldName);
   471 	};
   467 	};
   472 
   468 
   473 #endif
       
   474 // SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
   469 // SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
   475 
   470 
   476 
   471 
   477 #include <commdb.inl>
   472 #include <commdb.inl>
   478 
   473