equal
deleted
inserted
replaced
|
1 /** |
|
2 * Copyright (c) 2004-2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __DSTINTUTILS_H__ |
|
21 #define __DSTINTUTILS_H__ |
|
22 |
|
23 #include <calentryview.h> |
|
24 #include <calsession.h> |
|
25 #include <f32file.h> |
|
26 |
|
27 class RTz; |
|
28 |
|
29 class CDstIntUtils |
|
30 { |
|
31 public: |
|
32 // Static general utility methods |
|
33 static TInt SetHomeTimeZoneL(const TDesC8& aLocation, const RTz &aServer); |
|
34 static TInt CheckHomeTimeZoneL(const RTz &aServer, const TDesC8& aLocation); |
|
35 static void AppendTimeParamStringL(TTime aTime, TDes& aParamString); |
|
36 static void GenerateVCalL(RFs& aFs, const TDesC& aFileName, const TDesC& aStartTime, const TDesC& aEndTime); |
|
37 static void OpenAgendaFileL(CCalSession& aModel, const TDesC& aFilename); |
|
38 static TCalLocalUid ImportVCalL(RFs& aFs, CCalSession& aModel, CCalEntryView& aEntryView, const TDesC& aFileName); |
|
39 static TInt CheckAgendaEntryL(CCalEntryView& aEntryView, const TCalLocalUid& aId, const TTime& aStart, const TTime& aEnd); |
|
40 }; |
|
41 |
|
42 #endif |
|
43 |
|
44 |
|
45 |