epoc32/include/mw/ascliclientutils.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
equal deleted inserted replaced
2:2fe1408b6811 3:e1b950c65cb4
       
     1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __ASCLICLIENTUTILS_H__
       
    17 #define __ASCLICLIENTUTILS_H__
       
    18 
       
    19 // System includes
       
    20 #include <e32base.h>
       
    21 
       
    22 
       
    23 ///////////////////////////////////////////////////////////////////////////////////////
       
    24 // ----> AlarmClientUtils (header)
       
    25 ///////////////////////////////////////////////////////////////////////////////////////
       
    26 class AlarmClientUtils
       
    27 /**
       
    28 @publishedAll
       
    29 @released
       
    30 */
       
    31 	{
       
    32 ///////////////////////////////////////////////////////////////////////////////////////
       
    33 public:										// ENUMERATIONS
       
    34 ///////////////////////////////////////////////////////////////////////////////////////
       
    35 	/** Panic numbers associated with the ALMSRVCLI panic category. */
       
    36 	enum TAlarmClientPanic
       
    37 		{
       
    38 		EAlarmClientPanicArgument			= 0,
       
    39 		EAlarmClientPanicCancel				= 1,
       
    40 		EAlarmClientPanicSessionClose		= 2,
       
    41 		EAlarmClientPanicSetAlarm			= 3,
       
    42 		EAlarmClientPanicGetAlarm			= 4,
       
    43 		EAlarmClientPanicInvalidAlarmID		= 5,
       
    44 		EAlarmClientPanicAlarmInfo			= 6,
       
    45 		EAlarmClientPanicSound				= 7,
       
    46 		EAlarmClientPanicOwner				= 8,
       
    47 		EAlarmClientPanicVerify				= 9,
       
    48 		EAlarmClientPanicAlarmDay			= 10,
       
    49 		EAlarmClientPanicNumber				= 11,
       
    50 		EAlarmClientPanicNoArray			= 12,
       
    51 		EAlarmClientPanicNotificationCancel	= 13,
       
    52 		//
       
    53 		EAlarmClientPanicLast
       
    54 		};
       
    55 	/** Panic numbers associated with the ALMSRVCLIFAULT panic category. */
       
    56 	enum TAlarmClientFault
       
    57 		{
       
    58 		EAlarmClientFaultLogic				= 0,
       
    59 		EAlarmClientFaultData				= 1,
       
    60 		EAlarmClientFaultCouldNotLoadServer	= 2,
       
    61 		//
       
    62 		EAlarmClientFaultDebugFuncError		= 3,
       
    63 		//
       
    64 		EAlarmClientFaultLast
       
    65 		};
       
    66 
       
    67 ///////////////////////////////////////////////////////////////////////////////////////
       
    68 public:										// INTERNAL CONSTRUCT
       
    69 ///////////////////////////////////////////////////////////////////////////////////////
       
    70 
       
    71 	static void								Panic(TAlarmClientPanic aPanic);
       
    72 
       
    73 	static void								Fault(TAlarmClientFault aFault);
       
    74 
       
    75 	IMPORT_C static TInt					StartAlarmServer();
       
    76 	};
       
    77 
       
    78 #endif