upnp/upnpstack/upnpconnectionmanagersession/src/upnpnetworkeventbase.cpp
changeset 0 f5a58ecadc66
equal deleted inserted replaced
-1:000000000000 0:f5a58ecadc66
       
     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:  
       
    15 *
       
    16 */
       
    17 
       
    18 // Includes
       
    19 #include <upnpnetworkeventbase.h>
       
    20 
       
    21 
       
    22 // -----------------------------------------------------------------------------
       
    23 // CUpnpNetworkEventBase::CUpnpNetworkEventBase
       
    24 // 
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 CUpnpNetworkEventBase::CUpnpNetworkEventBase( TInt aError )
       
    28     : iType( EUnknownEvent ), iSubscriberError( aError )
       
    29     {
       
    30     }
       
    31 
       
    32 // -----------------------------------------------------------------------------
       
    33 // CUpnpNetworkEventBase::CUpnpNetworkEventBase
       
    34 // 
       
    35 // -----------------------------------------------------------------------------
       
    36 //
       
    37 CUpnpNetworkEventBase::CUpnpNetworkEventBase( TUpnpCmSubRsp aType )
       
    38     : iType( aType ), iSubscriberError( KErrNone )
       
    39     {
       
    40     }
       
    41 
       
    42 // -----------------------------------------------------------------------------
       
    43 // CUpnpNetworkEventBase::Type
       
    44 // 
       
    45 // -----------------------------------------------------------------------------
       
    46 //
       
    47 EXPORT_C TUpnpCmSubRsp CUpnpNetworkEventBase::Type()
       
    48     {
       
    49     return iType;
       
    50     }   
       
    51 
       
    52 // -----------------------------------------------------------------------------
       
    53 // CUpnpNetworkEventBase::SubscriberError
       
    54 // 
       
    55 // -----------------------------------------------------------------------------
       
    56 //
       
    57 EXPORT_C TInt CUpnpNetworkEventBase::SubscriberError()
       
    58     {
       
    59     return iSubscriberError;
       
    60     }
       
    61     
       
    62 // End of file
       
    63