equal
deleted
inserted
replaced
|
1 // Copyright (c) 1997-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 __AGSVER_H__ |
|
17 #define __AGSVER_H__ |
|
18 |
|
19 #include <e32cmn.h> |
|
20 |
|
21 class RReadStream; |
|
22 class RWriteStream; |
|
23 |
|
24 class TAgnVersion : public TVersion |
|
25 /** The version number of the agenda model, consisting of major, minor and build |
|
26 numbers. |
|
27 |
|
28 An object of this class is returned by the CalFileVersionUtils function CurrentFileVersion(). |
|
29 This returns the version of model that was used to create the file. |
|
30 @internalAll |
|
31 @released |
|
32 */ |
|
33 { |
|
34 public: |
|
35 inline TAgnVersion(TVersion aVersion) : TVersion(aVersion) {}; |
|
36 inline TAgnVersion() {}; |
|
37 void InternalizeL(RReadStream& aStream); |
|
38 void ExternalizeL(RWriteStream& aStream) const; |
|
39 TBool operator==(const TAgnVersion) const; |
|
40 }; |
|
41 #endif |