|
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 CClkUiMdlAlarmListener class. |
|
15 * |
|
16 */ |
|
17 |
|
18 // System includes |
|
19 |
|
20 // User includes |
|
21 #include "clkuialarmlistener.h" |
|
22 #include "clkuilistenerbase.h" |
|
23 #include "clkuialarmmodel.h" |
|
24 |
|
25 // Constants |
|
26 |
|
27 // --------------------------------------------------------- |
|
28 // CClkUiMdlAlarmListener::CClkUiMdlAlarmListener |
|
29 // rest of the details are commented in the header |
|
30 // --------------------------------------------------------- |
|
31 // |
|
32 CClkUiMdlAlarmListener::CClkUiMdlAlarmListener( RASCliSession& aAlarmSrvSes, |
|
33 CClkUiAlarmModel& aAlarmModel, |
|
34 TInt aListenerPriority ) |
|
35 : CClkUiMdlListenerBase( aAlarmModel, aListenerPriority ), |
|
36 iAlarmSrvSes( aAlarmSrvSes ) |
|
37 { |
|
38 // No implementation yet. |
|
39 } |
|
40 |
|
41 // --------------------------------------------------------- |
|
42 // CClkUiMdlAlarmListener::~CClkUiMdlAlarmListener |
|
43 // rest of the details are commented in the header |
|
44 // --------------------------------------------------------- |
|
45 // |
|
46 CClkUiMdlAlarmListener::~CClkUiMdlAlarmListener() |
|
47 { |
|
48 // No implementation yet. |
|
49 } |
|
50 |
|
51 // --------------------------------------------------------- |
|
52 // CClkUiMdlAlarmListener::DoStart |
|
53 // rest of the details are commented in the header |
|
54 // --------------------------------------------------------- |
|
55 // |
|
56 void CClkUiMdlAlarmListener::DoStart() |
|
57 { |
|
58 iAlarmSrvSes.NotifyChange( iStatus, iAlarmId ); |
|
59 } |
|
60 |
|
61 // --------------------------------------------------------- |
|
62 // CClkUiMdlAlarmListener::DoCancel |
|
63 // rest of the details are commented in the header |
|
64 // --------------------------------------------------------- |
|
65 // |
|
66 void CClkUiMdlAlarmListener::DoCancel() |
|
67 { |
|
68 iAlarmSrvSes.NotifyChangeCancel(); |
|
69 } |
|
70 |
|
71 // End of file |