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: missed alarm class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __MISSEDALARM_H__ |
|
21 #define __MISSEDALARM_H__ |
|
22 |
|
23 // Include files |
|
24 #include <e32cons.h> |
|
25 |
|
26 /** |
|
27 * Class Declaration. |
|
28 * CMissedAlarm is the implementation for holding information of single missed alarm. |
|
29 */ |
|
30 NONSHARABLE_CLASS( CMissedAlarm ): public CBase |
|
31 { |
|
32 public: |
|
33 |
|
34 /** |
|
35 * First stage constructor |
|
36 * Creates an instance of CMissedAlarm and places it |
|
37 * on the cleanup stack and then pops it before passing ownership to the caller. |
|
38 */ |
|
39 IMPORT_C static CMissedAlarm* NewL( const TInt aLuid, const TTime aInstanceTime, const TDesC& aCalFileName ); |
|
40 |
|
41 /** |
|
42 * Class destructor |
|
43 * Frees all resources used by this class |
|
44 */ |
|
45 ~CMissedAlarm(); |
|
46 |
|
47 private: |
|
48 |
|
49 /** |
|
50 * Private constructor |
|
51 */ |
|
52 CMissedAlarm(); |
|
53 |
|
54 /** |
|
55 * Second stage constructor |
|
56 * Performs any leaving operations needed for construction. |
|
57 */ |
|
58 void ConstructL( const TInt aLuid, const TTime aInstanceTime, const TDesC& aCalFileName ); |
|
59 |
|
60 public: |
|
61 TTime iInstanceTime; |
|
62 TInt iLuid; |
|
63 TBuf<256> iCalFileName; |
|
64 }; |
|
65 |
|
66 #endif // __MISSEDALARM_H__ |
|
67 |
|
68 // End of file |