1 /* |
|
2 * Copyright (c) 2007 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: Interface for theme manifest |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 package com.nokia.tools.themeinstaller.installationmanager; |
|
20 |
|
21 import java.util.Vector; |
|
22 |
|
23 /** |
|
24 * Interface for theme manifest. |
|
25 */ |
|
26 public interface IThemeManifest |
|
27 { |
|
28 |
|
29 /** |
|
30 * Get application uid. |
|
31 * @return the application uid |
|
32 */ |
|
33 public Long getApplicationUid(); |
|
34 |
|
35 /** |
|
36 * Get provider uid. |
|
37 * @return the provider uid |
|
38 */ |
|
39 public Long getProviderUid(); |
|
40 |
|
41 /** |
|
42 * Get theme uid. |
|
43 * @return the theme uid |
|
44 */ |
|
45 public Long getThemeUid(); |
|
46 |
|
47 /** |
|
48 * Get provider name. |
|
49 * @return the provider name |
|
50 */ |
|
51 public String getProviderName(); |
|
52 |
|
53 /** |
|
54 * Get theme full name (not localized). |
|
55 * @return the theme full name |
|
56 */ |
|
57 public String getThemeFullName(); |
|
58 |
|
59 /** |
|
60 * Get theme short name. |
|
61 * @return the theme short name |
|
62 */ |
|
63 public String getThemeShortName(); |
|
64 |
|
65 /** |
|
66 * Get theme version. |
|
67 * @return the theme version |
|
68 */ |
|
69 public String getThemeVersion(); |
|
70 |
|
71 /** |
|
72 * Get horizontal screen size. |
|
73 * @return the screen size x value |
|
74 */ |
|
75 public Integer getScreenSizeX(); |
|
76 |
|
77 /** |
|
78 * Get vertical screen size. |
|
79 * @return the screen size y value |
|
80 */ |
|
81 public Integer getScreenSizeY(); |
|
82 |
|
83 /** |
|
84 * Get theme status. Theme status flags are a bit mask created from |
|
85 * theme status. See Xuikon for more information. |
|
86 * @return the flags |
|
87 */ |
|
88 public Integer getThemeStatus(); |
|
89 |
|
90 /** |
|
91 * Get theme XML file name. |
|
92 * @return the XML file name |
|
93 */ |
|
94 public String getXMLFile(); |
|
95 |
|
96 /** |
|
97 * Get theme CSS file name. |
|
98 * @return the CSS file name |
|
99 */ |
|
100 public String getCSSFile(); |
|
101 |
|
102 /** |
|
103 * Get theme DTD file name. |
|
104 * @return the DTD file name |
|
105 */ |
|
106 public String getDTDFile(); |
|
107 |
|
108 /** |
|
109 * Get all resources. |
|
110 * @return the list of resource files |
|
111 */ |
|
112 public Vector getResources(); |
|
113 |
|
114 /** |
|
115 * Get all language specific data. |
|
116 * @return the list of languages |
|
117 */ |
|
118 public Vector getLanguages(); |
|
119 |
|
120 /** |
|
121 * Get all manifest files of a multi theme manifest. |
|
122 * @return the list of manifest files |
|
123 */ |
|
124 public Vector getManifestFiles(); |
|
125 |
|
126 /** |
|
127 * Get the data directory that contains the theme files. |
|
128 * @return the data directory |
|
129 */ |
|
130 public String getDataDir(); |
|
131 |
|
132 /** |
|
133 * Get the name space of the theme. |
|
134 * @return the theme name space |
|
135 */ |
|
136 public String getNameSpace(); |
|
137 |
|
138 /** |
|
139 * Set application uid. |
|
140 * @param aApplicationUid the application uid |
|
141 */ |
|
142 public void setApplicationUid( Long aApplicationUid ); |
|
143 |
|
144 /** |
|
145 * Set provider uid. |
|
146 * @param aProviderUid the provider uid |
|
147 */ |
|
148 public void setProviderUid( Long aProviderUid ); |
|
149 |
|
150 /** |
|
151 * Set theme uid. |
|
152 * @param aThemeUid the theme uid |
|
153 */ |
|
154 public void setThemeUid( Long aThemeUid ); |
|
155 |
|
156 /** |
|
157 * Set provider name. |
|
158 * @param aProviderName the provider name |
|
159 */ |
|
160 public void setProviderName( String aProviderName ); |
|
161 |
|
162 /** |
|
163 * Set theme full name (not localized). |
|
164 * @param aThemeFullName the theme full name |
|
165 */ |
|
166 public void setThemeFullName( String aThemeFullName ); |
|
167 |
|
168 /** |
|
169 * Set theme short name. |
|
170 * @param aThemeShortName the theme short name |
|
171 */ |
|
172 public void setThemeShortName( String aThemeShortName ); |
|
173 |
|
174 /** |
|
175 * Set theme version. |
|
176 * @param the theme version |
|
177 */ |
|
178 public void setThemeVersion( String aThemeVersion ); |
|
179 |
|
180 /** |
|
181 * Set horizontal screen size. |
|
182 * @param aScreenSizeX the screen size x value |
|
183 */ |
|
184 public void setScreenSizeX( Integer aScreenSizeX ); |
|
185 |
|
186 /** |
|
187 * Set vertical screen size. |
|
188 * @param aScreenSizeY the screen size y value |
|
189 */ |
|
190 public void setScreenSizeY( Integer aScreenSizeY ); |
|
191 |
|
192 /** |
|
193 * Set theme status. Theme status flags are a bit mask created |
|
194 * from theme status. See Xuikon for more information. |
|
195 * @param aFlags the flags |
|
196 */ |
|
197 public void setThemeStatus( Integer aThemeStatus ); |
|
198 |
|
199 /** |
|
200 * Set theme XML file name. |
|
201 * @param aXMLFile the XML file name |
|
202 */ |
|
203 public void setXMLFile( String aXMLFile ); |
|
204 |
|
205 /** |
|
206 * Set theme CSS file name. |
|
207 * @param aCSSFile the CSS file name |
|
208 */ |
|
209 public void setCSSFile( String aCSSFile ); |
|
210 |
|
211 /** |
|
212 * Set theme DTD file name. |
|
213 * @param aDTDFile the DTD file name |
|
214 */ |
|
215 public void setDTDFile( String aDTDFile ); |
|
216 |
|
217 /** |
|
218 * Add a resource. |
|
219 * @param the resource to add |
|
220 */ |
|
221 public void addResource( ThemeResource aResource ); |
|
222 |
|
223 /** |
|
224 * Add a language. |
|
225 * @param the language to add |
|
226 */ |
|
227 public void addLanguage( LanguageSpecificData aLanguage ); |
|
228 |
|
229 /** |
|
230 * Add a manifest file of a multi theme manifest. |
|
231 * @param the manifest file name to add |
|
232 */ |
|
233 public void addManifestFile( String aFileDAT ); |
|
234 |
|
235 /** |
|
236 * Set the data directory that contains the theme files. |
|
237 * @param aDataDir the data directory |
|
238 */ |
|
239 public void setDataDir( String aDataDir ); |
|
240 |
|
241 /** |
|
242 * Set the name space of the theme. |
|
243 * @param aNameSpace the theme name space |
|
244 */ |
|
245 public void setNameSpace( String aNameSpace ); |
|
246 } |
|