clock2/clockui/uimodel/src/clkuialarmidleobserver.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:  This is the source file for the CClkUiAlarmIdleObserver class.
       
    15 *
       
    16 */
       
    17 
       
    18 // System includes
       
    19 
       
    20 // User includes
       
    21 #include "clkuialarmidleobserver.h"
       
    22 #include "clkuiidleobserver.h"
       
    23 
       
    24 // Constants
       
    25 
       
    26 // ---------------------------------------------------------
       
    27 // CClkUiIdleObserver::CClkUiIdleObserver
       
    28 // rest of the details are commented in the header
       
    29 // ---------------------------------------------------------
       
    30 //
       
    31 EXPORT_C CClkUiAlarmIdleObserver* CClkUiAlarmIdleObserver::NewL( MClkModelObserver* aObserver,
       
    32                                                                  TInt aListenerPriority )
       
    33     {
       
    34     CClkUiAlarmIdleObserver* alarmIdleObserver = new( ELeave ) CClkUiAlarmIdleObserver;
       
    35     
       
    36     CleanupStack::PushL( alarmIdleObserver );
       
    37     alarmIdleObserver->ConstructL( aObserver, aListenerPriority );
       
    38     CleanupStack::Pop( alarmIdleObserver );
       
    39     
       
    40     return alarmIdleObserver;    
       
    41     }
       
    42 
       
    43 // End of file
       
    44