dosservices/dosserver/src/sae.cpp
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2 * Copyright (c) 2003 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 
       
    19 // INCLUDE FILES
       
    20 #include <e32svr.h>
       
    21 #include "sae.h"
       
    22 
       
    23 #include "saepubsubnotifier.h"
       
    24 #include "sae_debug.h"
       
    25 
       
    26 // LOCAL FUNCTION PROTOTYPES
       
    27 
       
    28 // MODULE DATA STRUCTURES
       
    29 
       
    30 // ================= MEMBER FUNCTIONS =======================
       
    31 
       
    32 // C++ default constructor can NOT contain any code, that
       
    33 // might leave.
       
    34 CSae::CSae()
       
    35     {
       
    36     }
       
    37 
       
    38 // EPOC default constructor can leave.
       
    39 void CSae::ConstructL()
       
    40     {
       
    41     COM_TRACE_( "CSae::ConstructL()" );
       
    42     iPubSubNotifier = CSaePubSubNotifier::NewL();
       
    43     }
       
    44 
       
    45 // Two-phased constructor.
       
    46 CSae* CSae::NewL()
       
    47     {
       
    48     COM_TRACE_( "CSae::NewL()" );
       
    49     CSae* self = new (ELeave) CSae();
       
    50 	CleanupStack::PushL( self );
       
    51     self->ConstructL();
       
    52 	CleanupStack::Pop();
       
    53     return self;
       
    54     }
       
    55 
       
    56 CSae::~CSae()
       
    57     {
       
    58     delete iPubSubNotifier;
       
    59     }
       
    60 
       
    61 //  End of File