upnp/upnpstack_plat/upnp_httpserver_api/inc/upnphttpserverobserver.h
changeset 0 f5a58ecadc66
equal deleted inserted replaced
-1:000000000000 0:f5a58ecadc66
       
     1 /*
       
     2 * Copyright (c) 2005-2009 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 HTTP observer class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_MUPNPHTTPSERVEROBSERVER_H
       
    20 #define C_MUPNPHTTPSERVEROBSERVER_H
       
    21 
       
    22 // FORWARD DECLARATIONS
       
    23 class CUpnpHttpMessage;
       
    24 
       
    25 // CLASS DESCRIPTION
       
    26 /**
       
    27  * MUpnpHttpServerObserver is an interface class notifying
       
    28  * about the HTTP events, errors.
       
    29  * Interface should be used only for achieving file transfer completion status.
       
    30  * Other usages are internal to upnp stack.
       
    31  *
       
    32  * @lib dlnawebserver.lib
       
    33  * @since S60 5.1
       
    34  */
       
    35 class MUpnpHttpServerObserver
       
    36     {
       
    37 public: 
       
    38 
       
    39     /**
       
    40      * This is virtual callback function which is used for forwarding
       
    41      * messages to upper layer - to observer.
       
    42      * 
       
    43      * @since S60 5.1
       
    44      * @param aMessage the HTTP message
       
    45      */
       
    46     virtual void HttpEventLD( CUpnpHttpMessage* aMessage ) = 0;
       
    47     };
       
    48 
       
    49 #endif // C_MUPNPHTTPSERVEROBSERVER_H
       
    50 
       
    51 // End of File