/usr/share/gtk-doc/html/goffice-0.10/GOPlugin.html is in libgoffice-0.10-doc 0.10.9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GOPlugin</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GOffice Reference Manual">
<link rel="up" href="ch15.html" title="Application">
<link rel="prev" href="GOIOContext.html" title="GOIOContext">
<link rel="next" href="GOPluginLoader.html" title="GOPluginLoader">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GOIOContext.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch15.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GOffice Reference Manual</th>
<td><a accesskey="n" href="GOPluginLoader.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GOPlugin.synopsis" class="shortcut">Top</a>
|
<a href="#GOPlugin.description" class="shortcut">Description</a>
|
<a href="#GOPlugin.object-hierarchy" class="shortcut">Object Hierarchy</a>
</td></tr>
</table>
<div class="refentry">
<a name="GOPlugin"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GOPlugin.top_of_page"></a>GOPlugin</span></h2>
<p>GOPlugin</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GOPlugin.synopsis"></a><h2>Synopsis</h2>
<a name="GOPluginServiceResource"></a><pre class="synopsis"><span class="returnvalue">void</span> (<a class="link" href="GOPlugin.html#GOPluginMethod" title="GOPluginMethod ()">*GOPluginMethod</a>) (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><a class="link" href="GOCmdContext.html" title="GOCmdContext"><span class="type">GOCmdContext</span></a> *cc</code></em>);
<a class="link" href="GOPlugin.html#GOPluginServiceResource-struct" title="GOPluginServiceResource">GOPluginServiceResource</a>;
<span class="returnvalue">void</span> <a class="link" href="GOPlugin.html#go-plugin-activate" title="go_plugin_activate ()">go_plugin_activate</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><a class="link" href="GOErrorInfo.html" title="GOErrorInfo"><span class="type">GOErrorInfo</span></a> **ret_error</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GOPlugin.html#go-plugin-can-deactivate" title="go_plugin_can_deactivate ()">go_plugin_can_deactivate</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GOPlugin.html#go-plugin-db-activate-plugin-list" title="go_plugin_db_activate_plugin_list ()">go_plugin_db_activate_plugin_list</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *plugins</code></em>,
<em class="parameter"><code><a class="link" href="GOErrorInfo.html" title="GOErrorInfo"><span class="type">GOErrorInfo</span></a> **ret_error</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GOPlugin.html#go-plugin-db-deactivate-plugin-list" title="go_plugin_db_deactivate_plugin_list ()">go_plugin_db_deactivate_plugin_list</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *plugins</code></em>,
<em class="parameter"><code><a class="link" href="GOErrorInfo.html" title="GOErrorInfo"><span class="type">GOErrorInfo</span></a> **ret_error</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GOPlugin.html#go-plugin-db-is-plugin-marked-for-deactivation" title="go_plugin_db_is_plugin_marked_for_deactivation ()">go_plugin_db_is_plugin_marked_for_deactivation</a>
(<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GOPlugin.html#go-plugin-db-mark-plugin-for-deactivation" title="go_plugin_db_mark_plugin_for_deactivation ()">go_plugin_db_mark_plugin_for_deactivation</a>
(<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> mark</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GOPlugin.html#go-plugin-deactivate" title="go_plugin_deactivate ()">go_plugin_deactivate</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><a class="link" href="GOErrorInfo.html" title="GOErrorInfo"><span class="type">GOErrorInfo</span></a> **ret_error</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GOPlugin.html#go-plugin-get-dependencies-ids" title="go_plugin_get_dependencies_ids ()">go_plugin_get_dependencies_ids</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<span class="returnvalue">char</span> const * <a class="link" href="GOPlugin.html#go-plugin-get-description" title="go_plugin_get_description ()">go_plugin_get_description</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<span class="returnvalue">char</span> const * <a class="link" href="GOPlugin.html#go-plugin-get-dir-name" title="go_plugin_get_dir_name ()">go_plugin_get_dir_name</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<span class="returnvalue">char</span> const * <a class="link" href="GOPlugin.html#go-plugin-get-id" title="go_plugin_get_id ()">go_plugin_get_id</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<a class="link" href="GOPluginLoader.html" title="GOPluginLoader"><span class="returnvalue">GOPluginLoader</span></a> * <a class="link" href="GOPlugin.html#go-plugin-get-loader" title="go_plugin_get_loader ()">go_plugin_get_loader</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<span class="returnvalue">char</span> const * <a class="link" href="GOPlugin.html#go-plugin-get-name" title="go_plugin_get_name ()">go_plugin_get_name</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GOPlugin.html#go-plugin-get-services" title="go_plugin_get_services ()">go_plugin_get_services</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<span class="returnvalue">char</span> const * <a class="link" href="GOPlugin.html#go-plugin-get-textdomain" title="go_plugin_get_textdomain ()">go_plugin_get_textdomain</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<a href="/usr/share/gtk-doc/html/gobject/GTypeModule.html"><span class="returnvalue">GTypeModule</span></a> * <a class="link" href="GOPlugin.html#go-plugin-get-type-module" title="go_plugin_get_type_module ()">go_plugin_get_type_module</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GOPlugin.html#go-plugin-is-active" title="go_plugin_is_active ()">go_plugin_is_active</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GOPlugin.html#go-plugin-is-loaded" title="go_plugin_is_loaded ()">go_plugin_is_loaded</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GOPlugin.html#go-plugin-load-service" title="go_plugin_load_service ()">go_plugin_load_service</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><a class="link" href="GOPluginService.html" title="GOPluginService"><span class="type">GOPluginService</span></a> *service</code></em>,
<em class="parameter"><code><a class="link" href="GOErrorInfo.html" title="GOErrorInfo"><span class="type">GOErrorInfo</span></a> **ret_error</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GOPlugin.html#go-plugin-unload-service" title="go_plugin_unload_service ()">go_plugin_unload_service</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><a class="link" href="GOPluginService.html" title="GOPluginService"><span class="type">GOPluginService</span></a> *service</code></em>,
<em class="parameter"><code><a class="link" href="GOErrorInfo.html" title="GOErrorInfo"><span class="type">GOErrorInfo</span></a> **ret_error</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GOPlugin.html#go-plugin-use-ref" title="go_plugin_use_ref ()">go_plugin_use_ref</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GOPlugin.html#go-plugin-use-unref" title="go_plugin_use_unref ()">go_plugin_use_unref</a> (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GOPlugin.html#go-plugins-get-active-plugins" title="go_plugins_get_active_plugins ()">go_plugins_get_active_plugins</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GOPlugin.html#go-plugins-get-available-plugins" title="go_plugins_get_available_plugins ()">go_plugins_get_available_plugins</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="GOPlugin.html" title="GOPlugin"><span class="returnvalue">GOPlugin</span></a> * <a class="link" href="GOPlugin.html#go-plugins-get-plugin-by-id" title="go_plugins_get_plugin_by_id ()">go_plugins_get_plugin_by_id</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *plugin_id</code></em>);
<span class="returnvalue">char</span> * <a class="link" href="GOPlugin.html#go-plugins-get-plugin-dir" title="go_plugins_get_plugin_dir ()">go_plugins_get_plugin_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="GOPlugin.html#go-plugins-init" title="go_plugins_init ()">go_plugins_init</a> (<em class="parameter"><code><a class="link" href="GOCmdContext.html" title="GOCmdContext"><span class="type">GOCmdContext</span></a> *context</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> const *known_states</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> const *active_plugins</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *plugin_dirs</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> activate_new_plugins</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> default_loader_type</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GOPlugin.html#go-plugins-register-loader" title="go_plugins_register_loader ()">go_plugins_register_loader</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id_str</code></em>,
<em class="parameter"><code><a class="link" href="GOPluginService.html" title="GOPluginService"><span class="type">GOPluginService</span></a> *service</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GOPlugin.html#go-plugins-rescan" title="go_plugins_rescan ()">go_plugins_rescan</a> (<em class="parameter"><code><a class="link" href="GOErrorInfo.html" title="GOErrorInfo"><span class="type">GOErrorInfo</span></a> **ret_error</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **ret_new_plugins</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GOPlugin.html#go-plugins-shutdown" title="go_plugins_shutdown ()">go_plugins_shutdown</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="GOPlugin.html#go-plugins-unregister-loader" title="go_plugins_unregister_loader ()">go_plugins_unregister_loader</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id_str</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GOPlugin.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a class="link" href="GOPluginService.html" title="GOPluginService">GOPluginService</a>
+----GOPluginServiceResource
</pre>
</div>
<div class="refsect1">
<a name="GOPlugin.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="GOPlugin.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GOPluginMethod"></a><h3>GOPluginMethod ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> (*GOPluginMethod) (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><a class="link" href="GOCmdContext.html" title="GOCmdContext"><span class="type">GOCmdContext</span></a> *cc</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GOPluginServiceResource-struct"></a><h3>GOPluginServiceResource</h3>
<pre class="programlisting">typedef struct _GOPluginServiceResource GOPluginServiceResource;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-activate"></a><h3>go_plugin_activate ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> go_plugin_activate (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><a class="link" href="GOErrorInfo.html" title="GOErrorInfo"><span class="type">GOErrorInfo</span></a> **ret_error</code></em>);</pre>
<p>
Activates <em class="parameter"><code>plugin</code></em> together with all its dependencies.
In case of error the plugin won't be activated and detailed error
information will be returned using <em class="parameter"><code>ret_error</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ret_error</code></em> :</span></p></td>
<td>Pointer used to report errors</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-can-deactivate"></a><h3>go_plugin_can_deactivate ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> go_plugin_can_deactivate (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<p>
Tells if the plugin can be deactivated using go_plugin_deactivate.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if <em class="parameter"><code>plugin</code></em> can be deactivated and FALSE otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-db-activate-plugin-list"></a><h3>go_plugin_db_activate_plugin_list ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> go_plugin_db_activate_plugin_list (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *plugins</code></em>,
<em class="parameter"><code><a class="link" href="GOErrorInfo.html" title="GOErrorInfo"><span class="type">GOErrorInfo</span></a> **ret_error</code></em>);</pre>
<p>
Activates all plugins in the list. If some of the plugins cannot be
activated, the function reports this via <em class="parameter"><code>ret_error</code></em> (errors don't
affect plugins activated successfully).
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugins</code></em> :</span></p></td>
<td>The list of plugins. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GOPlugin]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ret_error</code></em> :</span></p></td>
<td>Pointer used to report errors</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-db-deactivate-plugin-list"></a><h3>go_plugin_db_deactivate_plugin_list ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> go_plugin_db_deactivate_plugin_list (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *plugins</code></em>,
<em class="parameter"><code><a class="link" href="GOErrorInfo.html" title="GOErrorInfo"><span class="type">GOErrorInfo</span></a> **ret_error</code></em>);</pre>
<p>
Deactivates all plugins in the list. If some of the plugins cannot be
deactivated, the function reports this via <em class="parameter"><code>ret_error</code></em> (errors don't
affect plugins deactivated successfully).
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugins</code></em> :</span></p></td>
<td>The list of plugins. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GOPlugin]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ret_error</code></em> :</span></p></td>
<td>Pointer used to report errors</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-db-is-plugin-marked-for-deactivation"></a><h3>go_plugin_db_is_plugin_marked_for_deactivation ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> go_plugin_db_is_plugin_marked_for_deactivation
(<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-db-mark-plugin-for-deactivation"></a><h3>go_plugin_db_mark_plugin_for_deactivation ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> go_plugin_db_mark_plugin_for_deactivation
(<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> mark</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-deactivate"></a><h3>go_plugin_deactivate ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> go_plugin_deactivate (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><a class="link" href="GOErrorInfo.html" title="GOErrorInfo"><span class="type">GOErrorInfo</span></a> **ret_error</code></em>);</pre>
<p>
Dectivates <em class="parameter"><code>plugin</code></em>. Its dependencies will NOT be automatically
deactivated.
In case of error the plugin won't be deactivated and detailed error
information will be returned using <em class="parameter"><code>ret_error</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ret_error</code></em> :</span></p></td>
<td>Pointer used to report errors</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-get-dependencies-ids"></a><h3>go_plugin_get_dependencies_ids ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * go_plugin_get_dependencies_ids (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the list of identifiers of
plugins that <em class="parameter"><code>plugin</code></em> depends on.
All these plugins will be automatically activated before activating the
<em class="parameter"><code>plugin</code></em> itself. The caller must free the returned list together with
the strings it points to (use g_slist_free_full (list, g_free) to do
this). <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> char][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-get-description"></a><h3>go_plugin_get_description ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> const * go_plugin_get_description (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>textual description of <em class="parameter"><code>plugin</code></em> or NULL if description is not
available. Returned string stays valid during <em class="parameter"><code>plugin</code></em>'s lifetime.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-get-dir-name"></a><h3>go_plugin_get_dir_name ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> const * go_plugin_get_dir_name (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the name of the directory in which <em class="parameter"><code>plugin</code></em> is located.
Returned string is != NULL and stays valid during <em class="parameter"><code>plugin</code></em>'s lifetime.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-get-id"></a><h3>go_plugin_get_id ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> const * go_plugin_get_id (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the ID of <em class="parameter"><code>plugin</code></em> (unique string used for idenfification of
plugin). Returned string is != NULL and stays valid during <em class="parameter"><code>plugin</code></em>'s
lifetime.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-get-loader"></a><h3>go_plugin_get_loader ()</h3>
<pre class="programlisting"><a class="link" href="GOPluginLoader.html" title="GOPluginLoader"><span class="returnvalue">GOPluginLoader</span></a> * go_plugin_get_loader (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The loader. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-get-name"></a><h3>go_plugin_get_name ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> const * go_plugin_get_name (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>textual name of <em class="parameter"><code>plugin</code></em>. If the real name is not available
for some reason, automatically generated string will be returned.
Returned string is != NULL and stays valid during <em class="parameter"><code>plugin</code></em>'s lifetime.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-get-services"></a><h3>go_plugin_get_services ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * go_plugin_get_services (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A list of services.
The list must not be freed or changed. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GOPluginService][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-get-textdomain"></a><h3>go_plugin_get_textdomain ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> const * go_plugin_get_textdomain (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>plugin's textdomain for use with textdomain(3) and d*gettext(3)
functions.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-get-type-module"></a><h3>go_plugin_get_type_module ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gobject/GTypeModule.html"><span class="returnvalue">GTypeModule</span></a> * go_plugin_get_type_module (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the GTypeModule associated with the plugin
creating it if necessary. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-is-active"></a><h3>go_plugin_is_active ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> go_plugin_is_active (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if <em class="parameter"><code>plugin</code></em> is active and FALSE otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-is-loaded"></a><h3>go_plugin_is_loaded ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> go_plugin_is_loaded (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if <em class="parameter"><code>plugin</code></em> is loaded and FALSE otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-load-service"></a><h3>go_plugin_load_service ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> go_plugin_load_service (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><a class="link" href="GOPluginService.html" title="GOPluginService"><span class="type">GOPluginService</span></a> *service</code></em>,
<em class="parameter"><code><a class="link" href="GOErrorInfo.html" title="GOErrorInfo"><span class="type">GOErrorInfo</span></a> **ret_error</code></em>);</pre>
<p>
Loads base part of the plugin if it is not loaded and then loads given
plugin service (prepares necessary part of the plugin for direct use).
This function is intended for use by GOPluginService objects.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>service</code></em> :</span></p></td>
<td>Plugin service</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ret_error</code></em> :</span></p></td>
<td>Pointer used to report errors</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-unload-service"></a><h3>go_plugin_unload_service ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> go_plugin_unload_service (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><a class="link" href="GOPluginService.html" title="GOPluginService"><span class="type">GOPluginService</span></a> *service</code></em>,
<em class="parameter"><code><a class="link" href="GOErrorInfo.html" title="GOErrorInfo"><span class="type">GOErrorInfo</span></a> **ret_error</code></em>);</pre>
<p>
...
This function is intended for use by GOPluginService objects.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>service</code></em> :</span></p></td>
<td>Plugin service</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ret_error</code></em> :</span></p></td>
<td>Pointer used to report errors</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-use-ref"></a><h3>go_plugin_use_ref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> go_plugin_use_ref (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugin-use-unref"></a><h3>go_plugin_use_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> go_plugin_use_unref (<em class="parameter"><code><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a> *plugin</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="type">GOPlugin</span></a></td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugins-get-active-plugins"></a><h3>go_plugins_get_active_plugins ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * go_plugins_get_active_plugins (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the list of active
plugins names. The caller needs to free the list, but not the content. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> char][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugins-get-available-plugins"></a><h3>go_plugins_get_available_plugins ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * go_plugins_get_available_plugins (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the list of available
plugins. The returned value must not be freed and stays valid until calling
plugins_rescan or plugins_shutdown. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GOPlugin][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugins-get-plugin-by-id"></a><h3>go_plugins_get_plugin_by_id ()</h3>
<pre class="programlisting"><a class="link" href="GOPlugin.html" title="GOPlugin"><span class="returnvalue">GOPlugin</span></a> * go_plugins_get_plugin_by_id (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *plugin_id</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin_id</code></em> :</span></p></td>
<td>String containing plugin ID</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>GOPlugin object for plugin with ID equal to <em class="parameter"><code>plugin_id</code></em> or NULL
if there's no plugin available with given id. Function returns
"borrowed" reference, use g_object_ref if you want to be sure that
plugin won't disappear. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugins-get-plugin-dir"></a><h3>go_plugins_get_plugin_dir ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> * go_plugins_get_plugin_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-plugins-init"></a><h3>go_plugins_init ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> go_plugins_init (<em class="parameter"><code><a class="link" href="GOCmdContext.html" title="GOCmdContext"><span class="type">GOCmdContext</span></a> *context</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> const *known_states</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> const *active_plugins</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *plugin_dirs</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> activate_new_plugins</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> default_loader_type</code></em>);</pre>
<p>
Initializes the plugin subsystem. Might be called several times to add
new plugins.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
<td>
<a class="link" href="GOCmdContext.html" title="GOCmdContext"><span class="type">GOCmdContext</span></a> used to report errors</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>known_states</code></em> :</span></p></td>
<td>A list of known states (defined how ?). <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> char]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>active_plugins</code></em> :</span></p></td>
<td>A list of active plugins. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> char]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin_dirs</code></em> :</span></p></td>
<td>a list of directories to search for plugins. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> char]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>activate_new_plugins</code></em> :</span></p></td>
<td>activate plugins we have no seen before.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>default_loader_type</code></em> :</span></p></td>
<td>importer to use by default.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugins-register-loader"></a><h3>go_plugins_register_loader ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> go_plugins_register_loader (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id_str</code></em>,
<em class="parameter"><code><a class="link" href="GOPluginService.html" title="GOPluginService"><span class="type">GOPluginService</span></a> *service</code></em>);</pre>
<p>
Registers new type of plugin loader identified by <em class="parameter"><code>loader_id</code></em> (identifier
consists of loader's plugin ID and service ID concatenated using colon).
All requests to create new loader object of this type will be passed to
<em class="parameter"><code>service</code></em>.
</p>
<p>
This function is intended for use by GOPluginService objects.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>id_str</code></em> :</span></p></td>
<td>Loader's id</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>service</code></em> :</span></p></td>
<td>Plugin service of type "plugin_loader"</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugins-rescan"></a><h3>go_plugins_rescan ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> go_plugins_rescan (<em class="parameter"><code><a class="link" href="GOErrorInfo.html" title="GOErrorInfo"><span class="type">GOErrorInfo</span></a> **ret_error</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **ret_new_plugins</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ret_error</code></em> :</span></p></td>
<td>Pointer used to report errors</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ret_new_plugins</code></em> :</span></p></td>
<td>Optional pointer to return list
of new plugins. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GOPlugin]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugins-shutdown"></a><h3>go_plugins_shutdown ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * go_plugins_shutdown (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Shuts down the plugin subsystem. Call this function only once before
exiting the application. Some plugins may be left active or in broken
state, so calling plugins_init again will NOT work properly.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the list of plugins still in
use. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> char][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-plugins-unregister-loader"></a><h3>go_plugins_unregister_loader ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> go_plugins_unregister_loader (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id_str</code></em>);</pre>
<p>
Unregisters a type of plugin loader identified by <em class="parameter"><code>loader_id</code></em>. After
callingthis function Gnumeric will be unable to load plugins supported
by the specified loader.
</p>
<p>
This function is intended for use by GOPluginService objects.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>id_str</code></em> :</span></p></td>
<td>Loader's id</td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|