upnp/upnpstack/controlpointbase/inc/upnpcphttprequestor.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:  Declares MUpnpCpHttpRequestor class.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MUPNPCPHTTPREQUESTOR_H_
       
    19 #define MUPNPCPHTTPREQUESTOR_H_
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32base.h>
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class MUpnpHttpClientObserver;
       
    26 class CUpnpHttpTransaction;
       
    27 
       
    28 /**
       
    29 * Interface that allows control point to communicate by http in abstract manner
       
    30 */
       
    31 class MUpnpCpHttpRequestor
       
    32     {
       
    33 public:
       
    34     /**
       
    35      * Method is called by cp to initialise object, and subscribe for responses
       
    36      */
       
    37     virtual void InitialiseL( MUpnpHttpClientObserver& aObserver, TInt aActiveIap ) = 0;
       
    38 
       
    39     /**
       
    40      * Initialise sending http transaction
       
    41      */
       
    42     virtual void SendL( CUpnpHttpTransaction& aTransaction ) = 0;
       
    43 
       
    44     };
       
    45 
       
    46 #endif /*MUPNPCPHTTPREQUESTOR_H_*/