1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482
|
<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
]>
<refentry id="ListallerSetup">
<refmeta>
<refentrytitle role="top_of_page" id="ListallerSetup.top_of_page">ListallerSetup</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>
LISTALLER Library
</refmiscinfo>
</refmeta>
<refnamediv>
<refname>ListallerSetup</refname>
<refpurpose>Performs the installation of an IPK package</refpurpose>
</refnamediv>
<refsect1 id="ListallerSetup.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_return" colwidth="150px"/>
<colspec colname="functions_name"/>
<tbody>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="LISTALLER-TYPE-SETUP:CAPS">LISTALLER_TYPE_SETUP</link></entry></row>
<row><entry role="function_type"><link linkend="ListallerIPKInstallMode"><returnvalue>ListallerIPKInstallMode</returnvalue></link>
</entry><entry role="function_name"><link linkend="listaller-setup-supported-install-modes">listaller_setup_supported_install_modes</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="listaller-setup-set-install-mode">listaller_setup_set_install_mode</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="ListallerIPKInstallMode"><returnvalue>ListallerIPKInstallMode</returnvalue></link>
</entry><entry role="function_name"><link linkend="listaller-setup-get-install-mode">listaller_setup_get_install_mode</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="listaller-setup-initialize">listaller_setup_initialize</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="ListallerAppItem"><returnvalue>ListallerAppItem</returnvalue></link> *
</entry><entry role="function_name"><link linkend="listaller-setup-get-current-application">listaller_setup_get_current_application</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="listaller-setup-kill-installation-process">listaller_setup_kill_installation_process</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *
</entry><entry role="function_name"><link linkend="listaller-setup-get-replaced-native-packs">listaller_setup_get_replaced_native_packs</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="listaller-setup-run-installation">listaller_setup_run_installation</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="ListallerIPKSecurityInfo"><returnvalue>ListallerIPKSecurityInfo</returnvalue></link> *
</entry><entry role="function_name"><link linkend="listaller-setup-get-security-info">listaller_setup_get_security_info</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="ListallerSetup"><returnvalue>ListallerSetup</returnvalue></link> *
</entry><entry role="function_name"><link linkend="listaller-setup-new">listaller_setup_new</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type">const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *
</entry><entry role="function_name"><link linkend="listaller-setup-get-fname">listaller_setup_get_fname</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="ListallerSetupSettings"><returnvalue>ListallerSetupSettings</returnvalue></link> *
</entry><entry role="function_name"><link linkend="listaller-setup-get-settings">listaller_setup_get_settings</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="ListallerIPKControl"><returnvalue>ListallerIPKControl</returnvalue></link> *
</entry><entry role="function_name"><link linkend="listaller-setup-get-control">listaller_setup_get_control</link> <phrase role="c_punctuation">()</phrase></entry></row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="ListallerSetup.properties" role="properties">
<title role="properties.title">Properties</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="properties_type" colwidth="150px"/>
<colspec colname="properties_name" colwidth="300px"/>
<colspec colname="properties_flags" colwidth="200px"/>
<tbody>
<row><entry role="property_type"><link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> *</entry><entry role="property_name"><link linkend="ListallerSetup--control">control</link></entry><entry role="property_flags">Read</entry></row>
<row><entry role="property_type"><link linkend="gchar"><type>gchar</type></link> *</entry><entry role="property_name"><link linkend="ListallerSetup--fname">fname</link></entry><entry role="property_flags">Read</entry></row>
<row><entry role="property_type"><link linkend="ListallerSetupSettings"><type>ListallerSetupSettings</type></link> *</entry><entry role="property_name"><link linkend="ListallerSetup--settings">settings</link></entry><entry role="property_flags">Read</entry></row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="ListallerSetup.signals" role="signal_proto">
<title role="signal_proto.title">Signals</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="signals_return" colwidth="150px"/>
<colspec colname="signals_name" colwidth="300px"/>
<colspec colname="signals_flags" colwidth="200px"/>
<tbody>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="ListallerSetup-status-changed">status-changed</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></entry></row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="ListallerSetup.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="name" colwidth="150px"/>
<colspec colname="description"/>
<tbody>
<row><entry role="datatype_keyword">struct</entry><entry role="function_name"><link linkend="ListallerSetup-struct">ListallerSetup</link></entry></row>
<row><entry role="datatype_keyword">struct</entry><entry role="function_name"><link linkend="ListallerSetupClass">ListallerSetupClass</link></entry></row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="ListallerSetup.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen> <link linkend="GObject">GObject</link>
<phrase role="lineart">╰──</phrase> <link linkend="ListallerMessageObject">ListallerMessageObject</link>
<phrase role="lineart">╰──</phrase> ListallerSetup
</screen>
</refsect1>
<refsect1 id="ListallerSetup.description" role="desc">
<title role="desc.title">Description</title>
<para>This class handles all stuff required to install an application. All methods are syncronous right now.</para>
</refsect1>
<refsect1 id="ListallerSetup.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="LISTALLER-TYPE-SETUP:CAPS" role="macro">
<title>LISTALLER_TYPE_SETUP</title>
<indexterm zone="LISTALLER-TYPE-SETUP:CAPS"><primary sortas="TYPE_SETUP">LISTALLER_TYPE_SETUP</primary></indexterm>
<programlisting language="C">#define LISTALLER_TYPE_SETUP (listaller_setup_get_type ())
</programlisting>
<para>The type for <link linkend="ListallerSetup"><type>ListallerSetup</type></link>.</para>
</refsect2>
<refsect2 id="listaller-setup-supported-install-modes" role="function">
<title>listaller_setup_supported_install_modes ()</title>
<indexterm zone="listaller-setup-supported-install-modes"><primary sortas="setup_supported_install_modes">listaller_setup_supported_install_modes</primary></indexterm>
<programlisting language="C"><link linkend="ListallerIPKInstallMode"><returnvalue>ListallerIPKInstallMode</returnvalue></link>
listaller_setup_supported_install_modes
(<parameter><link linkend="ListallerSetup"><type>ListallerSetup</type></link> *self</parameter>);</programlisting>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the <link linkend="ListallerSetup"><type>ListallerSetup</type></link> instance</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="listaller-setup-set-install-mode" role="function">
<title>listaller_setup_set_install_mode ()</title>
<indexterm zone="listaller-setup-set-install-mode"><primary sortas="setup_set_install_mode">listaller_setup_set_install_mode</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
listaller_setup_set_install_mode (<parameter><link linkend="ListallerSetup"><type>ListallerSetup</type></link> *self</parameter>,
<parameter><link linkend="ListallerIPKInstallMode"><type>ListallerIPKInstallMode</type></link> mode</parameter>);</programlisting>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the <link linkend="ListallerSetup"><type>ListallerSetup</type></link> instance</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>mode</para></entry>
<entry role="parameter_description"><para> </para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="listaller-setup-get-install-mode" role="function">
<title>listaller_setup_get_install_mode ()</title>
<indexterm zone="listaller-setup-get-install-mode"><primary sortas="setup_get_install_mode">listaller_setup_get_install_mode</primary></indexterm>
<programlisting language="C"><link linkend="ListallerIPKInstallMode"><returnvalue>ListallerIPKInstallMode</returnvalue></link>
listaller_setup_get_install_mode (<parameter><link linkend="ListallerSetup"><type>ListallerSetup</type></link> *self</parameter>);</programlisting>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the <link linkend="ListallerSetup"><type>ListallerSetup</type></link> instance</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="listaller-setup-initialize" role="function">
<title>listaller_setup_initialize ()</title>
<indexterm zone="listaller-setup-initialize"><primary sortas="setup_initialize">listaller_setup_initialize</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
listaller_setup_initialize (<parameter><link linkend="ListallerSetup"><type>ListallerSetup</type></link> *self</parameter>);</programlisting>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the <link linkend="ListallerSetup"><type>ListallerSetup</type></link> instance</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="listaller-setup-get-current-application" role="function">
<title>listaller_setup_get_current_application ()</title>
<indexterm zone="listaller-setup-get-current-application"><primary sortas="setup_get_current_application">listaller_setup_get_current_application</primary></indexterm>
<programlisting language="C"><link linkend="ListallerAppItem"><returnvalue>ListallerAppItem</returnvalue></link> *
listaller_setup_get_current_application
(<parameter><link linkend="ListallerSetup"><type>ListallerSetup</type></link> *self</parameter>);</programlisting>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the <link linkend="ListallerSetup"><type>ListallerSetup</type></link> instance</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="listaller-setup-kill-installation-process" role="function">
<title>listaller_setup_kill_installation_process ()</title>
<indexterm zone="listaller-setup-kill-installation-process"><primary sortas="setup_kill_installation_process">listaller_setup_kill_installation_process</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
listaller_setup_kill_installation_process
(<parameter><link linkend="ListallerSetup"><type>ListallerSetup</type></link> *self</parameter>);</programlisting>
<para>Forcibly kills a running installation process. You should never use this method, it might only be useful in command-line applications, where you can catch an interrupt signal and tell the running setup about it. It might be used on mobile devices if a setup is running and the device is running out of power. (but best way in that case would be to prevent an installation in the first place, if there is not enough energy left) This function does some emergency cleanup and tries to make sure that nothing gets corrupted.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the <link linkend="ListallerSetup"><type>ListallerSetup</type></link> instance</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="listaller-setup-get-replaced-native-packs" role="function">
<title>listaller_setup_get_replaced_native_packs ()</title>
<indexterm zone="listaller-setup-get-replaced-native-packs"><primary sortas="setup_get_replaced_native_packs">listaller_setup_get_replaced_native_packs</primary></indexterm>
<programlisting language="C"><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *
listaller_setup_get_replaced_native_packs
(<parameter><link linkend="ListallerSetup"><type>ListallerSetup</type></link> *self</parameter>);</programlisting>
<para>Check if there are native packages providing the same functionality</para>
<para>Software packages can declare a "replaces" element, showing which native componants become obsolete if their 3rd-party app gets installed. E.g. Firefox could declare a replacement of "/usr/bin/firefox", so the user gets hinted to maybe remove the native package. This feature is optional, and Listaller won't perform any removal actions! This function will fail if the user did not request a shared installation.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the <link linkend="ListallerSetup"><type>ListallerSetup</type></link> instance</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 role="returns">
<title>Returns</title>
<para> List of replaces package-ids, separated by newlines or NULL if no replacement was declared. </para>
<para></para>
</refsect3></refsect2>
<refsect2 id="listaller-setup-run-installation" role="function">
<title>listaller_setup_run_installation ()</title>
<indexterm zone="listaller-setup-run-installation"><primary sortas="setup_run_installation">listaller_setup_run_installation</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
listaller_setup_run_installation (<parameter><link linkend="ListallerSetup"><type>ListallerSetup</type></link> *self</parameter>);</programlisting>
<para>Execute software installation</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the <link linkend="ListallerSetup"><type>ListallerSetup</type></link> instance</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 role="returns">
<title>Returns</title>
<para> Success of the operation (if FALSE, an error was emitted) </para>
<para></para>
</refsect3></refsect2>
<refsect2 id="listaller-setup-get-security-info" role="function">
<title>listaller_setup_get_security_info ()</title>
<indexterm zone="listaller-setup-get-security-info"><primary sortas="setup_get_security_info">listaller_setup_get_security_info</primary></indexterm>
<programlisting language="C"><link linkend="ListallerIPKSecurityInfo"><returnvalue>ListallerIPKSecurityInfo</returnvalue></link> *
listaller_setup_get_security_info (<parameter><link linkend="ListallerSetup"><type>ListallerSetup</type></link> *self</parameter>);</programlisting>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the <link linkend="ListallerSetup"><type>ListallerSetup</type></link> instance</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="listaller-setup-new" role="function">
<title>listaller_setup_new ()</title>
<indexterm zone="listaller-setup-new"><primary sortas="setup_new">listaller_setup_new</primary></indexterm>
<programlisting language="C"><link linkend="ListallerSetup"><returnvalue>ListallerSetup</returnvalue></link> *
listaller_setup_new (<parameter>const <link linkend="gchar"><type>gchar</type></link> *ipkfilename</parameter>);</programlisting>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ipkfilename</para></entry>
<entry role="parameter_description"><para> </para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="listaller-setup-get-fname" role="function">
<title>listaller_setup_get_fname ()</title>
<indexterm zone="listaller-setup-get-fname"><primary sortas="setup_get_fname">listaller_setup_get_fname</primary></indexterm>
<programlisting language="C">const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *
listaller_setup_get_fname (<parameter><link linkend="ListallerSetup"><type>ListallerSetup</type></link> *self</parameter>);</programlisting>
<para>Get and return the current value of the <link linkend="ListallerSetup--fname"><type>"fname"</type></link> property.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the <link linkend="ListallerSetup"><type>ListallerSetup</type></link> instance to query</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 role="returns">
<title>Returns</title>
<para> the value of the <link linkend="ListallerSetup--fname"><type>"fname"</type></link> property</para>
<para></para>
</refsect3></refsect2>
<refsect2 id="listaller-setup-get-settings" role="function">
<title>listaller_setup_get_settings ()</title>
<indexterm zone="listaller-setup-get-settings"><primary sortas="setup_get_settings">listaller_setup_get_settings</primary></indexterm>
<programlisting language="C"><link linkend="ListallerSetupSettings"><returnvalue>ListallerSetupSettings</returnvalue></link> *
listaller_setup_get_settings (<parameter><link linkend="ListallerSetup"><type>ListallerSetup</type></link> *self</parameter>);</programlisting>
<para>Get and return the current value of the <link linkend="ListallerSetup--settings"><type>"settings"</type></link> property.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the <link linkend="ListallerSetup"><type>ListallerSetup</type></link> instance to query</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 role="returns">
<title>Returns</title>
<para> the value of the <link linkend="ListallerSetup--settings"><type>"settings"</type></link> property</para>
<para></para>
</refsect3></refsect2>
<refsect2 id="listaller-setup-get-control" role="function">
<title>listaller_setup_get_control ()</title>
<indexterm zone="listaller-setup-get-control"><primary sortas="setup_get_control">listaller_setup_get_control</primary></indexterm>
<programlisting language="C"><link linkend="ListallerIPKControl"><returnvalue>ListallerIPKControl</returnvalue></link> *
listaller_setup_get_control (<parameter><link linkend="ListallerSetup"><type>ListallerSetup</type></link> *self</parameter>);</programlisting>
<para>Get and return the current value of the <link linkend="ListallerSetup--control"><type>"control"</type></link> property.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>the <link linkend="ListallerSetup"><type>ListallerSetup</type></link> instance to query</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 role="returns">
<title>Returns</title>
<para> the value of the <link linkend="ListallerSetup--control"><type>"control"</type></link> property</para>
<para></para>
</refsect3></refsect2>
</refsect1>
<refsect1 id="ListallerSetup.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="ListallerSetup-struct" role="struct">
<title>struct ListallerSetup</title>
<indexterm zone="ListallerSetup-struct"><primary sortas="Setup">ListallerSetup</primary></indexterm>
<programlisting language="C">struct ListallerSetup;</programlisting>
<para>Performs the installation of an IPK package</para>
<para>This class handles all stuff required to install an application. All methods are syncronous right now.</para>
</refsect2>
<refsect2 id="ListallerSetupClass" role="struct">
<title>struct ListallerSetupClass</title>
<indexterm zone="ListallerSetupClass"><primary sortas="SetupClass">ListallerSetupClass</primary></indexterm>
<programlisting language="C">struct ListallerSetupClass {
ListallerMessageObjectClass parent_class;
};
</programlisting>
<para>The class structure for <link linkend="LISTALLER-TYPE-SETUP:CAPS"><literal>LISTALLER_TYPE_SETUP</literal></link>. All the fields in this structure are private and should never be accessed directly.</para>
<refsect3 role="struct_members">
<title>Members</title>
<informaltable role="struct_members_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="struct_members_name" colwidth="300px"/>
<colspec colname="struct_members_description"/>
<colspec colname="struct_members_annotations" colwidth="200px"/>
<tbody>
<row><entry role="struct_member_name"><para><link linkend="ListallerMessageObjectClass"><type>ListallerMessageObjectClass</type></link> <structfield id="ListallerSetupClass.parent-class">parent_class</structfield>;</para></entry>
<listitem><para>the parent class structure</para></listitem>
<entry role="struct_member_description"><para>the parent class structure</para></entry>
<entry role="struct_member_annotations"></entry>
</row>
</tbody></tgroup></informaltable>
</refsect3>
</refsect2>
</refsect1>
<refsect1 id="ListallerSetup.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="ListallerSetup--control" role="property"><title>The <literal>“control”</literal> property</title>
<indexterm zone="ListallerSetup--control"><primary sortas="Setup:control">ListallerSetup:control</primary></indexterm>
<programlisting> “control” <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> *</programlisting>
<para>control.</para><para>Flags: Read</para>
</refsect2>
<refsect2 id="ListallerSetup--fname" role="property"><title>The <literal>“fname”</literal> property</title>
<indexterm zone="ListallerSetup--fname"><primary sortas="Setup:fname">ListallerSetup:fname</primary></indexterm>
<programlisting> “fname” <link linkend="gchar"><type>gchar</type></link> *</programlisting>
<para>fname.</para><para>Flags: Read</para>
<para>Default value: NULL</para>
</refsect2>
<refsect2 id="ListallerSetup--settings" role="property"><title>The <literal>“settings”</literal> property</title>
<indexterm zone="ListallerSetup--settings"><primary sortas="Setup:settings">ListallerSetup:settings</primary></indexterm>
<programlisting> “settings” <link linkend="ListallerSetupSettings"><type>ListallerSetupSettings</type></link> *</programlisting>
<para>settings.</para><para>Flags: Read</para>
</refsect2>
</refsect1>
<refsect1 id="ListallerSetup.signal-details" role="signals">
<title role="signals.title">Signal Details</title>
<refsect2 id="ListallerSetup-status-changed" role="signal"><title>The <literal>“status-changed”</literal> signal</title>
<indexterm zone="ListallerSetup-status-changed"><primary sortas="Setup::status-changed">ListallerSetup::status-changed</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="ListallerSetup"><type>ListallerSetup</type></link> *setup,
<link linkend="ListallerStatusItem"><type>ListallerStatusItem</type></link> *status,
<link linkend="gpointer"><type>gpointer</type></link> user_data)</programlisting>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>setup</para></entry>
<entry role="parameter_description"><para>the <link linkend="ListallerSetup"><type>ListallerSetup</type></link> instance that received the signal</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>status</para></entry>
<entry role="parameter_description"><para> </para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></para>
</refsect2>
</refsect1>
</refentry>
|