alarmengines/missedalarmstore/src/missedalarm.cpp
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 /*
       
     2 * Copyright (c) 2008 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:   missed alarm class description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // Include files
       
    21 #include "missedalarm.h"
       
    22 #include "alarmenginesdebug.h"
       
    23 
       
    24 // ----------------------------------------------------------------------------
       
    25 // CMissedAlarm::NewL
       
    26 // 1st phase of construction
       
    27 // ----------------------------------------------------------------------------
       
    28 //
       
    29 EXPORT_C CMissedAlarm* CMissedAlarm::NewL( const TInt aLuid, const TTime aInstanceTime, const TDesC& aCalFileName )
       
    30 	{
       
    31 	TRACE_ENTRY_POINT;
       
    32 	
       
    33 	CMissedAlarm* self=new (ELeave) CMissedAlarm();
       
    34 	CleanupStack::PushL(self);
       
    35 	self->ConstructL(aLuid, aInstanceTime, aCalFileName);
       
    36 	CleanupStack::Pop(self);
       
    37 	
       
    38 	TRACE_EXIT_POINT;
       
    39 	return self;
       
    40 	}
       
    41 
       
    42 // ----------------------------------------------------------------------------
       
    43 // CMissedAlarm::NewL
       
    44 // Class destructor.Frees all resources used by this class
       
    45 // ----------------------------------------------------------------------------
       
    46 //
       
    47 CMissedAlarm::~CMissedAlarm()
       
    48 	{
       
    49 	TRACE_ENTRY_POINT;
       
    50 	TRACE_EXIT_POINT;
       
    51 	}
       
    52 
       
    53 // ----------------------------------------------------------------------------
       
    54 // CMissedAlarm::CMissedAlarm
       
    55 // Default construction
       
    56 // ----------------------------------------------------------------------------
       
    57 //
       
    58 CMissedAlarm::CMissedAlarm()
       
    59 	{
       
    60 	TRACE_ENTRY_POINT;
       
    61 	TRACE_EXIT_POINT;
       
    62 	}
       
    63 
       
    64 // ----------------------------------------------------------------------------
       
    65 // CMissedAlarm::NewL
       
    66 // Second stage constructor
       
    67 // ----------------------------------------------------------------------------
       
    68 //
       
    69 void CMissedAlarm::ConstructL( const TInt aLuid, const TTime aInstanceTime, const TDesC& aCalFileName )
       
    70 	{
       
    71 	TRACE_ENTRY_POINT;
       
    72 	
       
    73 	iLuid = aLuid;
       
    74 	iInstanceTime = aInstanceTime;
       
    75 	iCalFileName = aCalFileName;
       
    76 	
       
    77 	TRACE_EXIT_POINT;
       
    78     }
       
    79 
       
    80 // End of file