epoc32/include/commdb.inl
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     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
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Comms Database and Table inline functions
    15 // 
    16 //
    17 
    18 
    19 
    20 /**
    21  @file
    22  @deprecated since v9.1. Functionality is replaced with commsdat.
    23 */
    24 
    25 #ifndef COMMDB_INL
    26 #define	COMMDB_INL
    27 
    28 #include <commdb.h>
    29 #include <cdbpreftable.h>
    30 
    31 
    32 inline RDbNamedDatabase* CCommsDatabaseBase::Database()
    33 /**
    34 Returns the interface for creating and opening a database identified by name and format.
    35 
    36 @return A pointer to the interface for creating and opening a database identified by name and format.
    37 */
    38 	{
    39 	return &iDatabase;
    40 	}
    41 
    42 inline void CCommsDbTableView::GetTableName(TDes& aTableName) const
    43 /**
    44 Gets the name of the table associated with this view and copies it into the
    45 descriptor supplied by the caller.
    46 
    47 @param aTableName A reference to a descriptor passed by the caller. On return
    48 from this function it contains the name of the table.
    49 */
    50 	{
    51 	aTableName=iTableName;
    52 	}
    53 
    54 inline TDbColNo CCommsDbConnectionPrefTableView::ColNum(const TDesC& /*aColumn*/) const
    55 /**
    56 Returns the column number of the Column aColumn in the table
    57 
    58 Coloumn concept doesn't exist in CommsDat
    59 depNot supported from v9.1
    60 
    61 @param aColumn A reference to a descriptor containing the name of a column in the current record.
    62 @return The ordinal number of the column else KDbNullColNo if no such column exists.
    63 */
    64 	{
    65 	return KErrNone;
    66 	}
    67 
    68 
    69 #endif