00001 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // 00015 00016 #if (!defined __ALARMSERVEREXAMPLE_H__) 00017 #define __ALARMSERVEREXAMPLE_H__ 00018 #include <asshddefs.h> 00019 00020 class CExampleAlarmServer : public CBase 00021 { 00022 public: 00023 static CExampleAlarmServer* NewL(); 00024 void EgAlarmServerL(); 00025 ~CExampleAlarmServer(); 00026 00027 private: 00028 void ConstructL(); 00029 void SetFloatingAlarmL(); 00030 void AddFetchDeleteFixedAlarmL(); 00031 void WaitForAlarmToBeCleared(); 00032 void DisplayNotificationType(TAlarmChangeEvent aAlarmChangeEvent,TAlarmId aAlarmId); 00033 void DisplayAlarmState(TAlarmState aState); 00034 00035 private: 00036 00037 RASCliSession iAlarmServerSession; 00038 }; 00039 #endif /*__ALARMSERVEREXAMPLE_H__ */
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.