upnp/upnpstack/controlpointbase/inc/upnpcphttprequestorimpl.h
changeset 0 f5a58ecadc66
equal deleted inserted replaced
-1:000000000000 0:f5a58ecadc66
       
     1 /** @file
       
     2 * Copyright (c) 2008 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:  Provides default implementation of MUpnpCpHttpRequestor interface.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CUPNPCPHTTPREQUESTORIMPL_H_
       
    19 #define CUPNPCPHTTPREQUESTORIMPL_H_
       
    20 
       
    21 #include <e32base.h>
       
    22 #include "upnpcphttprequestorimplbase.h"
       
    23 
       
    24 class CUpnpHttpClientEngine;
       
    25 class MUpnpHttpClientObserver;
       
    26 
       
    27 /**
       
    28 * Default implementation of MUpnpCpHttpRequestor. It uses symbian http engine.
       
    29 */
       
    30 NONSHARABLE_CLASS( CUpnpCpHttpRequestorImpl ) : public CUpnpCpHttpRequestorImplBase
       
    31     {
       
    32 public:
       
    33     /**
       
    34     * Two phased constructor
       
    35     * @return an instance of CUpnpCpHttpRequestorImpl class
       
    36     */
       
    37     static CUpnpCpHttpRequestorImpl* NewL();
       
    38 
       
    39     /**
       
    40     * Destructor
       
    41     */
       
    42     virtual ~CUpnpCpHttpRequestorImpl();
       
    43 
       
    44 private:
       
    45     /**
       
    46     * C++ constructor
       
    47     */
       
    48     CUpnpCpHttpRequestorImpl();
       
    49 
       
    50 private: //from MUpnpCpHttpRequestor
       
    51     virtual void SendL( CUpnpHttpTransaction& aTransaction );
       
    52 
       
    53     virtual void InitialiseL( MUpnpHttpClientObserver& aObserver, TInt aActiveIap );
       
    54 
       
    55 private:
       
    56     CUpnpHttpClientEngine* iHttpClientEngine;
       
    57     };
       
    58 
       
    59 #endif //CUPNPCPHTTPREQUESTORIMPL_H_