1.1 --- a/epoc32/include/commdb.inl Wed Mar 31 12:27:01 2010 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,69 +0,0 @@
1.4 -// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 -// All rights reserved.
1.6 -// This component and the accompanying materials are made available
1.7 -// 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
1.8 -// which accompanies this distribution, and is available
1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 -//
1.11 -// Initial Contributors:
1.12 -// Nokia Corporation - initial contribution.
1.13 -//
1.14 -// Contributors:
1.15 -//
1.16 -// Description:
1.17 -// Comms Database and Table inline functions
1.18 -//
1.19 -//
1.20 -
1.21 -
1.22 -
1.23 -/**
1.24 - @file
1.25 - @deprecated since v9.1. Functionality is replaced with commsdat.
1.26 -*/
1.27 -
1.28 -#ifndef COMMDB_INL
1.29 -#define COMMDB_INL
1.30 -
1.31 -#include <commdb.h>
1.32 -#include <cdbpreftable.h>
1.33 -
1.34 -
1.35 -inline RDbNamedDatabase* CCommsDatabaseBase::Database()
1.36 -/**
1.37 -Returns the interface for creating and opening a database identified by name and format.
1.38 -
1.39 -@return A pointer to the interface for creating and opening a database identified by name and format.
1.40 -*/
1.41 - {
1.42 - return &iDatabase;
1.43 - }
1.44 -
1.45 -inline void CCommsDbTableView::GetTableName(TDes& aTableName) const
1.46 -/**
1.47 -Gets the name of the table associated with this view and copies it into the
1.48 -descriptor supplied by the caller.
1.49 -
1.50 -@param aTableName A reference to a descriptor passed by the caller. On return
1.51 -from this function it contains the name of the table.
1.52 -*/
1.53 - {
1.54 - aTableName=iTableName;
1.55 - }
1.56 -
1.57 -inline TDbColNo CCommsDbConnectionPrefTableView::ColNum(const TDesC& /*aColumn*/) const
1.58 -/**
1.59 -Returns the column number of the Column aColumn in the table
1.60 -
1.61 -Coloumn concept doesn't exist in CommsDat
1.62 -depNot supported from v9.1
1.63 -
1.64 -@param aColumn A reference to a descriptor containing the name of a column in the current record.
1.65 -@return The ordinal number of the column else KDbNullColNo if no such column exists.
1.66 -*/
1.67 - {
1.68 - return KErrNone;
1.69 - }
1.70 -
1.71 -
1.72 -#endif