×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:Creating dependencies to Open C components

From Nokia Developer Wiki
Jump to: navigation, search
jaaura (Talk | contribs)
m
extkbeditor1 (Talk | contribs)
m
Line 5: Line 5:
 
[[Category:Technical Solution]]
 
[[Category:Technical Solution]]
  
{|border="2" cellspacing="0" cellpadding="4" width="100%"
+
{{KnowledgeBase
|
+
|id=TSS000698
====Subject:====
+
|platform=S60 3rd Edition<br>S60 3rd Edition, FP1
|colspan = "2"|
+
|devices=
====Creating dependencies to Open C components====
+
|category=Symbian C<nowiki>++</nowiki>
|TSS000698
+
|subcategory=Base & System, SW installer
 +
|creationdate=June 25, 2007
 +
|keywords=
 +
}}
  
|-
+
== Overview ==
|rowspan = "2"|
+
Creating dependencies to Open C components
====&nbsp;====
+
|Platform(s):
+
|colspan = "2"|Device(s), SW version(s):
+
  
|-
+
== Description ==
|S60 3rd Edition<br>S60 3rd Edition, FP1
+
To ensure that an Open C application will work, it is worthwhile to create dependencies to any Open C plug-in components that are required to run the application. This way, the user will be warned during installation if Open C libraries are not present in the device.<br>
|colspan = "2"|&nbsp;
+
 
+
|-
+
|
+
====Category:====
+
|colspan = "3"|Symbian C<nowiki>++</nowiki>
+
 
+
|-
+
|
+
====Subcategory:====
+
|colspan = "3"|Base & System, SW installer
+
 
+
|-
+
|
+
====Description:====
+
|colspan = "3"|To ensure that an Open C application will work, it is worthwhile to create dependencies to any Open C plug-in components that are required to run the application. This way, the user will be warned during installation if Open C libraries are not present in the device.<br>
+
 
To create dependencies to other components by declaring the required components in the PKG file:<br>&nbsp;&nbsp;(componentUID), version-range, <nowiki>{</nowiki>"Component name for lang 1","Component name for lang n",...<nowiki>}</nowiki><br>
 
To create dependencies to other components by declaring the required components in the PKG file:<br>&nbsp;&nbsp;(componentUID), version-range, <nowiki>{</nowiki>"Component name for lang 1","Component name for lang n",...<nowiki>}</nowiki><br>
 
For Open C plug-in components, the dependencies can be declared as follows:<br>&nbsp;&nbsp;(0x20009a80), 1, 0, 0, <nowiki>{</nowiki>"Symbian OS PIPS"<nowiki>}</nowiki><br>&nbsp;&nbsp;(0x20009aa2), 1, 0, 0, <nowiki>{</nowiki>"Symbian OS STDIOSERVER"<nowiki>}</nowiki><br>&nbsp;&nbsp;(0x10281f34), 1, 0, 0, <nowiki>{</nowiki>"Open C LIBSSL"<nowiki>}</nowiki><br>&nbsp;&nbsp;(0x10281f2c), 1, 0, 0, <nowiki>{</nowiki>"Open C GLIBRARY"<nowiki>}</nowiki><br>In the above example, the dependencies are created to the four OpenC components:<br>&nbsp;&nbsp;<nowiki>’</nowiki>Symbian OS STDIOSERVER<nowiki>’</nowiki> (installed from stdioserver.sis),<br>&nbsp;&nbsp;<nowiki>’</nowiki>Symbian OS PIPS<nowiki>’</nowiki> (pips_s60_wp.sis),<br>&nbsp;&nbsp;<nowiki>’</nowiki>Open C LIBSSL<nowiki>’</nowiki> (openc_ssl.sis),<br>&nbsp;&nbsp;<nowiki>’</nowiki>Open C GLIBRARY<nowiki>’</nowiki> (openc_glib.sis),<br>Dependencies may also be targeted to specific component versions:<br>&nbsp;&nbsp;(0x0123BABE), 1, 2, 0 <nowiki>~</nowiki> *, *, *, <nowiki>{</nowiki>"ComponentName"<nowiki>}</nowiki> ; Version greater than or equal to 1.2.0 is required<br>&nbsp;&nbsp;(0x0123BABE), 1, 2, 0 <nowiki>~</nowiki> 2, 0, 0, <nowiki>{</nowiki>"ComponentName"<nowiki>}</nowiki> ; Version from 1.2.0 to 2.00 required<br>&nbsp;&nbsp;(0x0123BABE), *, *, * <nowiki>~</nowiki> 2, 0, 0, <nowiki>{</nowiki>"ComponentName"<nowiki>}</nowiki> ; Any older version up to (and including) 2.0.0 is required
 
For Open C plug-in components, the dependencies can be declared as follows:<br>&nbsp;&nbsp;(0x20009a80), 1, 0, 0, <nowiki>{</nowiki>"Symbian OS PIPS"<nowiki>}</nowiki><br>&nbsp;&nbsp;(0x20009aa2), 1, 0, 0, <nowiki>{</nowiki>"Symbian OS STDIOSERVER"<nowiki>}</nowiki><br>&nbsp;&nbsp;(0x10281f34), 1, 0, 0, <nowiki>{</nowiki>"Open C LIBSSL"<nowiki>}</nowiki><br>&nbsp;&nbsp;(0x10281f2c), 1, 0, 0, <nowiki>{</nowiki>"Open C GLIBRARY"<nowiki>}</nowiki><br>In the above example, the dependencies are created to the four OpenC components:<br>&nbsp;&nbsp;<nowiki>’</nowiki>Symbian OS STDIOSERVER<nowiki>’</nowiki> (installed from stdioserver.sis),<br>&nbsp;&nbsp;<nowiki>’</nowiki>Symbian OS PIPS<nowiki>’</nowiki> (pips_s60_wp.sis),<br>&nbsp;&nbsp;<nowiki>’</nowiki>Open C LIBSSL<nowiki>’</nowiki> (openc_ssl.sis),<br>&nbsp;&nbsp;<nowiki>’</nowiki>Open C GLIBRARY<nowiki>’</nowiki> (openc_glib.sis),<br>Dependencies may also be targeted to specific component versions:<br>&nbsp;&nbsp;(0x0123BABE), 1, 2, 0 <nowiki>~</nowiki> *, *, *, <nowiki>{</nowiki>"ComponentName"<nowiki>}</nowiki> ; Version greater than or equal to 1.2.0 is required<br>&nbsp;&nbsp;(0x0123BABE), 1, 2, 0 <nowiki>~</nowiki> 2, 0, 0, <nowiki>{</nowiki>"ComponentName"<nowiki>}</nowiki> ; Version from 1.2.0 to 2.00 required<br>&nbsp;&nbsp;(0x0123BABE), *, *, * <nowiki>~</nowiki> 2, 0, 0, <nowiki>{</nowiki>"ComponentName"<nowiki>}</nowiki> ; Any older version up to (and including) 2.0.0 is required
  
|-
 
|
 
====Creation date:====
 
|colspan = "3"|June 25, 2007
 
 
|-
 
|
 
====Last modified:====
 
|colspan = "3"|-
 
 
|-
 
 
[[Category:Symbian C++]][[Category:Base/System]][[Category:Open C/C++]] [[Category:S60 3rd Edition]] [[Category:S60 3rd Edition, Feature Pack 1]]
 
[[Category:Symbian C++]][[Category:Base/System]][[Category:Open C/C++]] [[Category:S60 3rd Edition]] [[Category:S60 3rd Edition, Feature Pack 1]]

Revision as of 17:22, 5 November 2008

Template:KBTS

Article Metadata
Compatibility
Platform(s): S60 3rd Edition
S60 3rd Edition, FP1
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Article
Created: (25 Jun 2007)
Last edited: extkbeditor1 (05 Nov 2008)

Overview

Creating dependencies to Open C components

Description

To ensure that an Open C application will work, it is worthwhile to create dependencies to any Open C plug-in components that are required to run the application. This way, the user will be warned during installation if Open C libraries are not present in the device.
To create dependencies to other components by declaring the required components in the PKG file:
  (componentUID), version-range, {"Component name for lang 1","Component name for lang n",...}
For Open C plug-in components, the dependencies can be declared as follows:
  (0x20009a80), 1, 0, 0, {"Symbian OS PIPS"}
  (0x20009aa2), 1, 0, 0, {"Symbian OS STDIOSERVER"}
  (0x10281f34), 1, 0, 0, {"Open C LIBSSL"}
  (0x10281f2c), 1, 0, 0, {"Open C GLIBRARY"}
In the above example, the dependencies are created to the four OpenC components:
  ’Symbian OS STDIOSERVER’ (installed from stdioserver.sis),
  ’Symbian OS PIPS’ (pips_s60_wp.sis),
  ’Open C LIBSSL’ (openc_ssl.sis),
  ’Open C GLIBRARY’ (openc_glib.sis),
Dependencies may also be targeted to specific component versions:
  (0x0123BABE), 1, 2, 0 ~ *, *, *, {"ComponentName"} ; Version greater than or equal to 1.2.0 is required
  (0x0123BABE), 1, 2, 0 ~ 2, 0, 0, {"ComponentName"} ; Version from 1.2.0 to 2.00 required
  (0x0123BABE), *, *, * ~ 2, 0, 0, {"ComponentName"} ; Any older version up to (and including) 2.0.0 is required

98 page views in the last 30 days.
×