upnpmediaserver/avobjects/src/upnpfiletransfereventlist.cpp
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:  Media Server file transfer event list
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include    <e32base.h>
       
    21 #include    "upnpfiletransfereventlist.h"
       
    22 #include    "upnpmediaserverevent.h"
       
    23 #include    "upnpfiletransferevent.h"
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 
       
    30 
       
    31 
       
    32 
       
    33 
       
    34 // ============================ MEMBER FUNCTIONS ===============================
       
    35 
       
    36 // -----------------------------------------------------------------------------
       
    37 // CUpnpMediaServerEventList::NewL
       
    38 // Two-phased constructor.
       
    39 // -----------------------------------------------------------------------------
       
    40 //
       
    41 EXPORT_C CUpnpFileTransferEventList* CUpnpFileTransferEventList::NewL()
       
    42     {
       
    43     CUpnpFileTransferEventList* self = NewLC();
       
    44     CleanupStack::Pop(self);
       
    45     return self;
       
    46     }
       
    47     
       
    48 // -----------------------------------------------------------------------------
       
    49 // CUpnpMediaServerEventList::NewL
       
    50 // -----------------------------------------------------------------------------
       
    51 //
       
    52 EXPORT_C CUpnpFileTransferEventList* CUpnpFileTransferEventList::NewLC()
       
    53     {
       
    54     CUpnpFileTransferEventList* self = new( ELeave ) CUpnpFileTransferEventList;
       
    55     CleanupStack::PushL( self );
       
    56     self->ConstructL(  );
       
    57     return self;
       
    58     }
       
    59 
       
    60 // -----------------------------------------------------------------------------
       
    61 // CUpnpMediaServerEventList::NewL
       
    62 // -----------------------------------------------------------------------------
       
    63 //
       
    64 void CUpnpFileTransferEventList::InternalizeSubTypeL( RReadStream& aStream )
       
    65     {
       
    66     CUpnpFileTransferEvent* newEvent = CUpnpFileTransferEvent::NewLC();
       
    67 	newEvent->InternalizeL( aStream );
       
    68 	iEvents.AppendL( newEvent );   
       
    69 	CleanupStack::Pop();         
       
    70     }
       
    71 
       
    72 
       
    73 // -----------------------------------------------------------------------------
       
    74 // CUpnpMediaServerEventList::NewL
       
    75 // -----------------------------------------------------------------------------
       
    76 //
       
    77 CUpnpFileTransferEventList::CUpnpFileTransferEventList()
       
    78     {    
       
    79     }
       
    80 
       
    81 // -----------------------------------------------------------------------------
       
    82 // CUpnpMediaServerEventList::NewL
       
    83 // -----------------------------------------------------------------------------
       
    84 //
       
    85 CUpnpFileTransferEventList::~CUpnpFileTransferEventList()
       
    86     {    
       
    87     }
       
    88 
       
    89 
       
    90 
       
    91 //  End of File
       
    92