localconnectivityservice/generichid/tsrc/GenericHidTest/inc/alarmcontrol.h
branchRCL_3
changeset 19 0aa8cc770c8a
equal deleted inserted replaced
18:453dfc402455 19:0aa8cc770c8a
       
     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 "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:  Dialhandling class for hid test application
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_ALARMCONTROL_H
       
    20 #define C_ALARMCONTROL_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <ASCliSession.h>
       
    24 #include <TestScripterInternal.h>
       
    25 #include <StifLogger.h>
       
    26 #include "GenericHidTest.h"
       
    27 
       
    28 // RDebug
       
    29 #include <e32debug.h>
       
    30 
       
    31 NONSHARABLE_CLASS ( CAlarmControl ): public CBase
       
    32 {
       
    33 public:
       
    34     static CAlarmControl* NewL(CStifLogger* aLogger);
       
    35     static CAlarmControl* NewLC(CStifLogger* aLogger);
       
    36     
       
    37     void CreateClockAlarm( TInt aTime );
       
    38     void DeleteAlarm();
       
    39 public:
       
    40 
       
    41 	virtual ~CAlarmControl();
       
    42 	
       
    43 private:
       
    44     CAlarmControl(CStifLogger* aLogger);
       
    45     void ConstructL();
       
    46     
       
    47     RASCliSession iAlarmServer;
       
    48     TInt iAlarmID;
       
    49     CStifLogger * iLog;
       
    50 };
       
    51 
       
    52 #endif /*ALARMCONTROL_H*/