upnpmediaserver/contentdirectoryservice/inc/upnptablebean.h
changeset 0 7f85d04be362
equal deleted inserted replaced
-1:000000000000 0:7f85d04be362
       
     1 /** @file
       
     2 * Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies  this distribution, and is available 
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Element table data handler
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_CUPNPTABLEBEAN_H
       
    21 #define C_CUPNPTABLEBEAN_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 #include <d32dbms.h>
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 *  Base class for tables' bean classes.
       
    32 *
       
    33 *  @lib ContentDirectory.lib
       
    34 *  @since Series60 3.1
       
    35 */
       
    36 class CUpnpTableBean : public CBase
       
    37 {
       
    38  public: 
       
    39 
       
    40     // marks the value of the member has not yet been set i.e. has no value
       
    41     static const TInt KUndef = -1;
       
    42 
       
    43  protected: // New functions
       
    44 
       
    45     /**
       
    46     * Destructor.
       
    47     */
       
    48     virtual ~CUpnpTableBean();
       
    49         
       
    50     /**
       
    51     * C++ default constructor.
       
    52     */
       
    53     CUpnpTableBean();
       
    54 
       
    55     /**
       
    56     * Reads the LONG VARCHAR (EDbColLongText) column's value.
       
    57     * @since Series ?XX ?SeriesXX_version
       
    58     * @param RowSet
       
    59     * @param aColNo
       
    60     * @return descriptors pointer
       
    61     */
       
    62     HBufC8* ReadLongTextColL(const RDbRowSet& aRowSet, const TInt aColNo);
       
    63 };
       
    64 
       
    65 #endif      // C_CUPNPTABLEBEAN_H
       
    66         
       
    67 // End of File