upnpmediaserver/contentdirectoryservice/inc/upnpsender.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_CUPNPSENDER_H
       
    21 #define C_CUPNPSENDER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include "upnperrors.h"
       
    25 #include "upnpcdssender.h"
       
    26 #include <e32base.h>
       
    27 
       
    28 class CUpnpAction;
       
    29 class CUpnpHttpMessage;
       
    30 class CUpnpContentDirectory;
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35 *  Stores the data of object table row.
       
    36 *
       
    37 *  @lib AVContentDirectory.lib
       
    38 *  @since Series60 3.1
       
    39 */
       
    40 class CUpnpCdsSender: public CBase , public MUpnpCdsSender
       
    41 {
       
    42     public:  // Constructors and destructor
       
    43     
       
    44     /**
       
    45     * Two-phased constructor.
       
    46     */
       
    47     static CUpnpCdsSender* NewLC(CUpnpContentDirectory* aCd);
       
    48     static CUpnpCdsSender* NewL(CUpnpContentDirectory* aCd);
       
    49     
       
    50     /**
       
    51     * Destructor.
       
    52     */
       
    53     virtual ~CUpnpCdsSender();
       
    54 
       
    55     public: // New functions
       
    56     /**
       
    57     * Sets 
       
    58     * @since Series S60 3.0
       
    59     * @param aRowSet
       
    60     */
       
    61     void SendL(CUpnpAction* aAction, TUpnpErrorCode aError);
       
    62     void SendL( CUpnpHttpMessage* aMessage );
       
    63 
       
    64 
       
    65  private: 
       
    66     /**
       
    67     * C++ default constructor.
       
    68     */
       
    69     CUpnpCdsSender(CUpnpContentDirectory* aCd);
       
    70 
       
    71     /**
       
    72     * By default Symbian 2nd phase constructor is private.
       
    73     */
       
    74     void ConstructL();
       
    75 
       
    76  private:    // Data
       
    77     CUpnpContentDirectory* iCd;
       
    78         
       
    79 };
       
    80 
       
    81 #endif      // C_CUPNPSENDER_H   
       
    82 // End of File