equal
deleted
inserted
replaced
|
1 #ifndef ICAL_H |
|
2 #define ICAL_H/* |
|
3 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). |
|
4 * All rights reserved. |
|
5 * This component and the accompanying materials are made available |
|
6 * under the terms of "Eclipse Public License v1.0" |
|
7 * which accompanies this distribution, and is available |
|
8 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 * |
|
10 * Initial Contributors: |
|
11 * Nokia Corporation - initial contribution. |
|
12 * |
|
13 * Contributors: |
|
14 * |
|
15 * Description: Holds the definiton of CICal. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 // User includes. |
|
22 #include "ICalBase.h" // CICalBase |
|
23 |
|
24 // Forward declaration. |
|
25 class RWriteStream; |
|
26 |
|
27 /** |
|
28 Class representing a VCALENDAR component. |
|
29 @publishedPartner |
|
30 */ |
|
31 class CICal : public CICalBase |
|
32 { |
|
33 public: // Construction/destruction. |
|
34 IMPORT_C static CICal* NewL(); |
|
35 IMPORT_C static CICal* NewLC(); |
|
36 ~CICal(); |
|
37 |
|
38 public: // Methods. |
|
39 IMPORT_C void ExternalizeL(RWriteStream& aWriteStream); |
|
40 IMPORT_C void SetMethodL(TICalMethod aMethod); |
|
41 |
|
42 private: // Construction. |
|
43 CICal(); |
|
44 void ConstructL(); |
|
45 |
|
46 private: // From CICalBase. |
|
47 TBool ValidatePropertyImpl(const TDesC& aName) const; |
|
48 TBool ValidateComponent(TICalComponentType aType) const; |
|
49 }; |
|
50 |
|
51 #endif // ICAL_H |
|
52 |
|
53 // End of File |