equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-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 the License "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 @file |
|
21 @internalComponent |
|
22 */ |
|
23 |
|
24 #ifndef __SISDEPENDENCY_H__ |
|
25 #define __SISDEPENDENCY_H__ |
|
26 #pragma warning( disable : 4786) |
|
27 |
|
28 #include "streamreader.h" |
|
29 #include "dumpswiregistrytool.h" |
|
30 |
|
31 class StreamReader; |
|
32 |
|
33 /** |
|
34 * The SISDependency class extracts the version range information of the SISX packages |
|
35 * which needs to be installed to satisy this dependency. |
|
36 * @internalComponent |
|
37 */ |
|
38 |
|
39 class SISDependency |
|
40 { |
|
41 public: |
|
42 |
|
43 SISDependency(); |
|
44 |
|
45 ~SISDependency(); |
|
46 |
|
47 /** |
|
48 Extracts the version range information of the SISX packages |
|
49 which needs to be installed to satisy this dependency. |
|
50 */ |
|
51 void ExtractDependency(StreamReader& aReader); |
|
52 |
|
53 |
|
54 /** |
|
55 Displays the version range information of the SISX packages |
|
56 which needs to be installed to satisy this dependency. |
|
57 */ |
|
58 void DisplayDependencyInfo(); |
|
59 |
|
60 private: |
|
61 |
|
62 unsigned int iDependencyUid; |
|
63 int iFromMajorVersion; |
|
64 int iFromMinorVersion; |
|
65 int iFromBuild; |
|
66 int iToMajorVersion; |
|
67 int iToMinorVersion; |
|
68 int iToBuild; |
|
69 }; |
|
70 |
|
71 #endif |