serviceproviders/sapi_logging/tsrc/testing/tlogprovidertest/src/teventdetails.cpp
changeset 5 989d2f495d90
equal deleted inserted replaced
1:a36b1e19a461 5:989d2f495d90
       
     1 /*
       
     2 * Copyright (c) 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 the License "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 #include <e32base.h>
       
    19 #include "teventdetails.h"
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  * Default Constructor Method
       
    26  */
       
    27  
       
    28  CEventDetails :: CEventDetails(): iStatus(-1) , iDirection(-1) ,iEventType(-1)
       
    29 	{
       
    30 	  ;
       
    31 	}
       
    32  
       
    33 /**
       
    34  * Default Destructor
       
    35  */
       
    36   
       
    37  CEventDetails :: ~CEventDetails()
       
    38 	{
       
    39 	;
       
    40 	}
       
    41 	
       
    42 /**
       
    43  *Two phased constructor implementation
       
    44  */
       
    45 
       
    46  EXPORT_C CEventDetails* CEventDetails :: NewL()
       
    47 	{
       
    48 	CEventDetails* self = CEventDetails::NewLC();
       
    49 	CleanupStack::Pop(self);
       
    50 	return self;
       
    51 	}
       
    52 	  
       
    53 /**
       
    54  * Two phased constructor implementation
       
    55  */
       
    56   
       
    57  CEventDetails* CEventDetails :: NewLC() 
       
    58 	{
       
    59 	CEventDetails* self = new (ELeave) CEventDetails();
       
    60     CleanupStack::PushL(self);
       
    61 	return self;
       
    62 	}
       
    63