equal
deleted
inserted
replaced
|
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: Calendar alarm state machine |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CALENALARMSTATE_H |
|
19 #define CALENALARMSTATE_H |
|
20 |
|
21 // System includes. |
|
22 #include <e32base.h> |
|
23 |
|
24 // User includes. |
|
25 #include "calenstate.h" |
|
26 |
|
27 // CLASS DEFINITIONS |
|
28 /** |
|
29 * Calendar viewing state |
|
30 */ |
|
31 class CCalenAlarmState : public CCalenState |
|
32 { |
|
33 public: |
|
34 static CCalenAlarmState* NewLC( CCalenController& aController, |
|
35 RHashSet<TCalenNotification>& aOutstandingNotifications ); |
|
36 ~CCalenAlarmState(); |
|
37 |
|
38 public: |
|
39 // From CCalenState |
|
40 TBool HandleCommandL( const TCalenCommand& aCommand, |
|
41 CCalenStateMachine& aStateMachine ); |
|
42 void HandleNotificationL(const TCalenNotification& aNotification, |
|
43 CCalenStateMachine& aStateMachine ); |
|
44 void HandleStateActivationL(CCalenStateMachine& aStateMachine); |
|
45 private: |
|
46 CCalenAlarmState( CCalenController& aController, |
|
47 RHashSet<TCalenNotification>& aOutstandingNotifications ); |
|
48 void ConstructL(); |
|
49 }; |
|
50 |
|
51 #endif // CALENALARMSTATE_H |
|
52 |
|
53 // end of file |