equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-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 "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __CALINSTANCEIMPL_H__ |
|
17 #define __CALINSTANCEIMPL_H__ |
|
18 |
|
19 #include "caltime.h" |
|
20 #include "calinstance.h" |
|
21 |
|
22 class CCalEntry; |
|
23 |
|
24 /** Implementation class for a CCalInstance. |
|
25 |
|
26 @internalComponent |
|
27 */ |
|
28 NONSHARABLE_CLASS(CCalInstanceImpl) : public CBase |
|
29 { |
|
30 public: |
|
31 static CCalInstanceImpl* NewL(CCalEntry* aEntry, const TCalTime& iTime); |
|
32 ~CCalInstanceImpl(); |
|
33 |
|
34 CCalEntry& Entry() const; |
|
35 TCalTime Time() const; |
|
36 TCalTime StartTimeL() const; |
|
37 TCalTime EndTimeL() const; |
|
38 TCalInstanceId InstanceIdL() const; |
|
39 |
|
40 private: |
|
41 CCalInstanceImpl(CCalEntry* aEntry, const TCalTime& aTime); |
|
42 |
|
43 private: |
|
44 CCalEntry& iCalEntry; |
|
45 TCalTime iCalTime; |
|
46 }; |
|
47 |
|
48 #endif // __CALINSTANCEIMPL_H__ |