|
1 /* |
|
2 * Copyright (c) 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef IAUPDATEVERSION_H |
|
21 #define IAUPDATEVERSION_H |
|
22 |
|
23 #include <e32base.h> |
|
24 |
|
25 class TIAUpdateVersion : public TVersion |
|
26 { |
|
27 |
|
28 public: |
|
29 |
|
30 IMPORT_C TIAUpdateVersion(); |
|
31 |
|
32 IMPORT_C TIAUpdateVersion( const TVersion& aVersion ); |
|
33 |
|
34 /** |
|
35 * Parses passed string for version information. |
|
36 * @param aString String representing version |
|
37 * ( <major>.<minor>.<build> ) |
|
38 **/ |
|
39 |
|
40 IMPORT_C void InternalizeL( const TDesC& aString ); |
|
41 |
|
42 /** |
|
43 * Set this version entitys value to minimum version revision |
|
44 * possible to represent |
|
45 **/ |
|
46 IMPORT_C void SetToFloor(); |
|
47 |
|
48 /** |
|
49 * Set this version entitys value to maximum version revision |
|
50 * possible to represent |
|
51 **/ |
|
52 IMPORT_C void SetToRoof(); |
|
53 |
|
54 |
|
55 IMPORT_C const TIAUpdateVersion& operator =( const TVersion& aVersion ); |
|
56 IMPORT_C TBool operator ==( const TIAUpdateVersion& aVer ) const; |
|
57 IMPORT_C TBool operator !=( const TIAUpdateVersion& aVer ) const; |
|
58 IMPORT_C TBool operator <=( const TIAUpdateVersion& aVer ) const; |
|
59 IMPORT_C TBool operator >=( const TIAUpdateVersion& aVer ) const; |
|
60 IMPORT_C TBool operator <( const TIAUpdateVersion& aVer ) const; |
|
61 IMPORT_C TBool operator >( const TIAUpdateVersion& aVer ) const; |
|
62 |
|
63 }; |
|
64 |
|
65 |
|
66 #endif // IAUPDATEVERSION_H |