/usr/share/gtk-doc/html/libanjuta/AnjutaProfile.html is in libanjuta-dev 2:3.18.2-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 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Anjuta Developers Reference Manual: AnjutaProfile</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Anjuta Developers Reference Manual">
<link rel="up" href="libanjuta-api.html" title="libanjuta API">
<link rel="prev" href="AnjutaPluginManager.html" title="AnjutaPluginManager">
<link rel="next" href="AnjutaProfileManager.html" title="AnjutaProfileManager">
<meta name="generator" content="GTK-Doc V1.21 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#AnjutaProfile.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
<a href="#AnjutaProfile.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
<a href="#AnjutaProfile.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
<a href="#AnjutaProfile.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="libanjuta-api.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="AnjutaPluginManager.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="AnjutaProfileManager.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="AnjutaProfile"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="AnjutaProfile.top_of_page"></a>AnjutaProfile</span></h2>
<p>AnjutaProfile — Profile is a collection of plugins</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="AnjutaProfile.stability-level"></a><h2>Stability Level</h2>
<a href="http://foldoc.org/Unstable"><span class="acronym">Unstable</span></a>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="AnjutaProfile.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="AnjutaProfile.html#ANJUTA-PROFILE-ERROR:CAPS" title="ANJUTA_PROFILE_ERROR">ANJUTA_PROFILE_ERROR</a></td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GQuark</span>
</td>
<td class="function_name">
<a class="link" href="AnjutaProfile.html#anjuta-profile-error-quark" title="anjuta_profile_error_quark ()">anjuta_profile_error_quark</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="returnvalue">AnjutaProfile</span></a> *
</td>
<td class="function_name">
<a class="link" href="AnjutaProfile.html#anjuta-profile-new" title="anjuta_profile_new ()">anjuta_profile_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="AnjutaProfile.html#anjuta-profile-get-name" title="anjuta_profile_get_name ()">anjuta_profile_get_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="AnjutaProfile.html#anjuta-profile-add-plugin" title="anjuta_profile_add_plugin ()">anjuta_profile_add_plugin</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="AnjutaProfile.html#anjuta-profile-remove-plugin" title="anjuta_profile_remove_plugin ()">anjuta_profile_remove_plugin</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="AnjutaProfile.html#anjuta-profile-add-plugins-from-xml" title="anjuta_profile_add_plugins_from_xml ()">anjuta_profile_add_plugins_from_xml</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="AnjutaProfile.html#anjuta-profile-has-plugin" title="anjuta_profile_has_plugin ()">anjuta_profile_has_plugin</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GList</span> *
</td>
<td class="function_name">
<a class="link" href="AnjutaProfile.html#anjuta-profile-get-plugins" title="anjuta_profile_get_plugins ()">anjuta_profile_get_plugins</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="AnjutaProfile.html#anjuta-profile-set-sync-file" title="anjuta_profile_set_sync_file ()">anjuta_profile_set_sync_file</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="AnjutaProfile.html#anjuta-profile-sync" title="anjuta_profile_sync ()">anjuta_profile_sync</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="AnjutaProfile.html#anjuta-profile-load" title="anjuta_profile_load ()">anjuta_profile_load</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="AnjutaProfile.html#anjuta-profile-unload" title="anjuta_profile_unload ()">anjuta_profile_unload</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="AnjutaProfile.properties"></a><h2>Properties</h2>
<div class="informaltable"><table border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<a class="link" href="AnjutaPluginManager.html" title="AnjutaPluginManager"><span class="type">AnjutaPluginManager</span></a> *</td>
<td class="property_name"><a class="link" href="AnjutaProfile.html#AnjutaProfile--plugin-manager" title="The “plugin-manager” property">plugin-manager</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="AnjutaProfile.html#AnjutaProfile--profile-name" title="The “profile-name” property">profile-name</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type">
<span class="type">GFile</span> *</td>
<td class="property_name"><a class="link" href="AnjutaProfile.html#AnjutaProfile--sync-file" title="The “sync-file” property">sync-file</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="AnjutaProfile.signals"></a><h2>Signals</h2>
<div class="informaltable"><table border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="AnjutaProfile.html#AnjutaProfile-changed" title="The “changed” signal">changed</a></td>
<td class="signal_flags">Run First</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="AnjutaProfile.html#AnjutaProfile-descoped" title="The “descoped” signal">descoped</a></td>
<td class="signal_flags">Run First</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="AnjutaProfile.html#AnjutaProfile-plugin-added" title="The “plugin-added” signal">plugin-added</a></td>
<td class="signal_flags">Run First</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="AnjutaProfile.html#AnjutaProfile-plugin-removed" title="The “plugin-removed” signal">plugin-removed</a></td>
<td class="signal_flags">Run First</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="AnjutaProfile.html#AnjutaProfile-scoped" title="The “scoped” signal">scoped</a></td>
<td class="signal_flags">Run First</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="AnjutaProfile.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="AnjutaProfile.html#ANJUTA-SYSTEM-PROFILE-NAME:CAPS" title="ANJUTA_SYSTEM_PROFILE_NAME">ANJUTA_SYSTEM_PROFILE_NAME</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="AnjutaProfile.html#AnjutaProfileError" title="enum AnjutaProfileError">AnjutaProfileError</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="AnjutaProfile.html#AnjutaProfile-struct" title="struct AnjutaProfile">AnjutaProfile</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="AnjutaProfile.html#AnjutaProfilePriv" title="AnjutaProfilePriv">AnjutaProfilePriv</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="AnjutaProfile.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> GObject
<span class="lineart">╰──</span> AnjutaProfile
</pre>
</div>
<div class="refsect1">
<a name="AnjutaProfile.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include <libanjuta/anjuta-profile.h>
</pre>
</div>
<div class="refsect1">
<a name="AnjutaProfile.description"></a><h2>Description</h2>
<p>A anjuta profile contains the list of all plugins used in one Anjuta session.
It is possible to add and remove plugins,
check if one is included or get the whole list. The plugins list can be saved
into a xml file and loaded from it.</p>
<p>A profile in an Anjuta session includes plugins from up to 3 different xml
sources:</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term">$prefix/share/anjuta/profiles/default.profile</span></p></td>
<td><p>
This contains the system plugins. It is loaded in special system
profile and contains mandatory plugins for Anjuta. These plugins
cannot be unloaded. Anjuta can load a different profile using the -P
command line option.
</p></td>
</tr>
<tr>
<td><p><span class="term">$project_dir/$project_name.anjuta</span></p></td>
<td><p>
This contains the project plugins. It lists mandatory plugins for the
project. This file is version controlled and distributed with the source
code. Every user working on the project uses the same one. If there
is no project loaded, no project plugins are loaded.
</p></td>
</tr>
<tr>
<td><p><span class="term">$project_dir/.anjuta/default.profile</span></p></td>
<td><p>
This contains the user plugins. This is the only list of plugins
which is updated when the user add or remove one plugin.
If there is no project loaded, the user home directory is used
instead of the project directory but this list is used only in this case.
There is no global user plugins list.
</p></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="AnjutaProfile.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="ANJUTA-PROFILE-ERROR:CAPS"></a><h3>ANJUTA_PROFILE_ERROR</h3>
<pre class="programlisting">#define ANJUTA_PROFILE_ERROR (anjuta_profile_error_quark())
</pre>
<p>Error domain for Anjuta profile. Errors in this domain will be from the
<a class="link" href="AnjutaProfile.html#AnjutaProfileError" title="enum AnjutaProfileError"><span class="type">AnjutaProfileError</span></a> enumeration. See <span class="type">GError</span> for more information
on error domains.</p>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-profile-error-quark"></a><h3>anjuta_profile_error_quark ()</h3>
<pre class="programlisting"><span class="returnvalue">GQuark</span>
anjuta_profile_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
</p>
<div class="refsect3">
<a name="id-1.6.11.11.3.5"></a><h4>Returns</h4>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-profile-new"></a><h3>anjuta_profile_new ()</h3>
<pre class="programlisting"><a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="returnvalue">AnjutaProfile</span></a> *
anjuta_profile_new (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code><a class="link" href="AnjutaPluginManager.html" title="AnjutaPluginManager"><span class="type">AnjutaPluginManager</span></a> *plugin_manager</code></em>);</pre>
<p>Create a new profile.</p>
<div class="refsect3">
<a name="id-1.6.11.11.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>the new profile name.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>plugin_manager</p></td>
<td class="parameter_description"><p>the <a class="link" href="AnjutaPluginManager.html" title="AnjutaPluginManager"><span class="type">AnjutaPluginManager</span></a> used by this profile.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.6.11.11.4.6"></a><h4>Returns</h4>
<p> the new <a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> object.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-profile-get-name"></a><h3>anjuta_profile_get_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
anjuta_profile_get_name (<em class="parameter"><code><a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *profile</code></em>);</pre>
<p>Get the profile name.</p>
<div class="refsect3">
<a name="id-1.6.11.11.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>profile</p></td>
<td class="parameter_description"><p>a <a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> object.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.6.11.11.5.6"></a><h4>Returns</h4>
<p> the profile name.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-profile-add-plugin"></a><h3>anjuta_profile_add_plugin ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
anjuta_profile_add_plugin (<em class="parameter"><code><a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *profile</code></em>,
<em class="parameter"><code><a class="link" href="AnjutaPluginHandle.html" title="AnjutaPluginHandle"><span class="type">AnjutaPluginHandle</span></a> *plugin</code></em>);</pre>
<p>Add one plugin into the profile plugin list.</p>
<div class="refsect3">
<a name="id-1.6.11.11.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>profile</p></td>
<td class="parameter_description"><p>a <a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> object.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>plugin</p></td>
<td class="parameter_description"><p>a <a class="link" href="AnjutaPluginHandle.html" title="AnjutaPluginHandle"><span class="type">AnjutaPluginHandle</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-profile-remove-plugin"></a><h3>anjuta_profile_remove_plugin ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
anjuta_profile_remove_plugin (<em class="parameter"><code><a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *profile</code></em>,
<em class="parameter"><code><a class="link" href="AnjutaPluginHandle.html" title="AnjutaPluginHandle"><span class="type">AnjutaPluginHandle</span></a> *plugin</code></em>);</pre>
<p>Remove one plugin from the profile plugin list.</p>
<div class="refsect3">
<a name="id-1.6.11.11.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>profile</p></td>
<td class="parameter_description"><p>a <a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> object.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>plugin</p></td>
<td class="parameter_description"><p>a <a class="link" href="AnjutaPluginHandle.html" title="AnjutaPluginHandle"><span class="type">AnjutaPluginHandle</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-profile-add-plugins-from-xml"></a><h3>anjuta_profile_add_plugins_from_xml ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
anjuta_profile_add_plugins_from_xml (<em class="parameter"><code><a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *profile</code></em>,
<em class="parameter"><code><span class="type">GFile</span> *profile_xml_file</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> exclude_from_sync</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Add all plugins inscribed in the xml file into the profile plugin list.</p>
<div class="refsect3">
<a name="id-1.6.11.11.8.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>profile</p></td>
<td class="parameter_description"><p>a <a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> object.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>profile_xml_file</p></td>
<td class="parameter_description"><p>xml file containing plugin list.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>exclude_from_sync</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> if these plugins shouldn't be saved in user session.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>error propagation and reporting.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.6.11.11.8.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> otherwise.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-profile-has-plugin"></a><h3>anjuta_profile_has_plugin ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
anjuta_profile_has_plugin (<em class="parameter"><code><a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *profile</code></em>,
<em class="parameter"><code><a class="link" href="AnjutaPluginHandle.html" title="AnjutaPluginHandle"><span class="type">AnjutaPluginHandle</span></a> *plugin</code></em>);</pre>
<p>Check if a plugin is included in the profile plugin list.</p>
<div class="refsect3">
<a name="id-1.6.11.11.9.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>profile</p></td>
<td class="parameter_description"><p>a <a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>plugin</p></td>
<td class="parameter_description"><p>a <a class="link" href="AnjutaPluginHandle.html" title="AnjutaPluginHandle"><span class="type">AnjutaPluginHandle</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.6.11.11.9.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the plugin is included in the list.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-profile-get-plugins"></a><h3>anjuta_profile_get_plugins ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *
anjuta_profile_get_plugins (<em class="parameter"><code><a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *profile</code></em>);</pre>
<p>
</p>
<div class="refsect3">
<a name="id-1.6.11.11.10.5"></a><h4>Returns</h4>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-profile-set-sync-file"></a><h3>anjuta_profile_set_sync_file ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
anjuta_profile_set_sync_file (<em class="parameter"><code><a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *profile</code></em>,
<em class="parameter"><code><span class="type">GFile</span> *sync_file</code></em>);</pre>
<p>Define the file used to save plugins list.</p>
<div class="refsect3">
<a name="id-1.6.11.11.11.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>profile</p></td>
<td class="parameter_description"><p>a <a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> object.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sync_file</p></td>
<td class="parameter_description"><p>file used to save profile.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-profile-sync"></a><h3>anjuta_profile_sync ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
anjuta_profile_sync (<em class="parameter"><code><a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *profile</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Save the current plugins list in the xml file set with <a class="link" href="AnjutaProfile.html#anjuta-profile-set-sync-file" title="anjuta_profile_set_sync_file ()"><code class="function">anjuta_profile_set_sync_file()</code></a>.</p>
<div class="refsect3">
<a name="id-1.6.11.11.12.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>profile</p></td>
<td class="parameter_description"><p>a <a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> object.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>error propagation and reporting.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.6.11.11.12.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> otherwise.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-profile-load"></a><h3>anjuta_profile_load ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
anjuta_profile_load (<em class="parameter"><code><a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *profile</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Unload the profile</p>
<div class="refsect3">
<a name="id-1.6.11.11.13.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>profile</p></td>
<td class="parameter_description"><p>a <a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> object.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>error propagation and reporting.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.6.11.11.13.6"></a><h4>Returns</h4>
<p> TRUE on success, FALSE otherwise.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-profile-unload"></a><h3>anjuta_profile_unload ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
anjuta_profile_unload (<em class="parameter"><code><a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *profile</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>
</p>
<div class="refsect3">
<a name="id-1.6.11.11.14.5"></a><h4>Returns</h4>
<p></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="AnjutaProfile.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="ANJUTA-SYSTEM-PROFILE-NAME:CAPS"></a><h3>ANJUTA_SYSTEM_PROFILE_NAME</h3>
<pre class="programlisting">#define ANJUTA_SYSTEM_PROFILE_NAME "system"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="AnjutaProfileError"></a><h3>enum AnjutaProfileError</h3>
<p>Error codes returned by anjuta profile functions.</p>
<div class="refsect3">
<a name="id-1.6.11.12.3.4"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="ANJUTA-PROFILE-ERROR-URI-READ-FAILED:CAPS"></a>ANJUTA_PROFILE_ERROR_URI_READ_FAILED</p></td>
<td class="enum_member_description">
<p>Fail to read xml plugins list file.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="ANJUTA-PROFILE-ERROR-URI-WRITE-FAILED:CAPS"></a>ANJUTA_PROFILE_ERROR_URI_WRITE_FAILED</p></td>
<td class="enum_member_description">
<p>Fail to write xml plugins list file.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="ANJUTA-PROFILE-ERROR-PLUGIN-MISSING:CAPS"></a>ANJUTA_PROFILE_ERROR_PLUGIN_MISSING</p></td>
<td class="enum_member_description"> </td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="AnjutaProfile-struct"></a><h3>struct AnjutaProfile</h3>
<pre class="programlisting">struct AnjutaProfile;</pre>
<p>Stores a plugin list.</p>
</div>
<hr>
<div class="refsect2">
<a name="AnjutaProfilePriv"></a><h3>AnjutaProfilePriv</h3>
<pre class="programlisting">typedef struct _AnjutaProfilePriv AnjutaProfilePriv;</pre>
<p>
</p>
</div>
</div>
<div class="refsect1">
<a name="AnjutaProfile.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="AnjutaProfile--plugin-manager"></a><h3>The <code class="literal">“plugin-manager”</code> property</h3>
<pre class="programlisting"> “plugin-manager” <a class="link" href="AnjutaPluginManager.html" title="AnjutaPluginManager"><span class="type">AnjutaPluginManager</span></a> *</pre>
<p>The plugin manager to use for resolving plugins.</p>
<p>Flags: Read / Write / Construct</p>
</div>
<hr>
<div class="refsect2">
<a name="AnjutaProfile--profile-name"></a><h3>The <code class="literal">“profile-name”</code> property</h3>
<pre class="programlisting"> “profile-name” <span class="type">gchar</span> *</pre>
<p>Name of the plugin profile.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="AnjutaProfile--sync-file"></a><h3>The <code class="literal">“sync-file”</code> property</h3>
<pre class="programlisting"> “sync-file” <span class="type">GFile</span> *</pre>
<p>File to syncronize the profile XML.</p>
<p>Flags: Read / Write / Construct</p>
</div>
</div>
<div class="refsect1">
<a name="AnjutaProfile.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="AnjutaProfile-changed"></a><h3>The <code class="literal">“changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *profile,
<span class="type">gpointer</span> user_data)</pre>
<p>Emitted when a plugin is added or removed from the list.</p>
<div class="refsect3">
<a name="id-1.6.11.14.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>profile</p></td>
<td class="parameter_description"><p>a <a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> object.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run First</p>
</div>
<hr>
<div class="refsect2">
<a name="AnjutaProfile-descoped"></a><h3>The <code class="literal">“descoped”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *anjutaprofile,
<span class="type">gpointer</span> user_data)</pre>
<p>
</p>
<div class="refsect3">
<a name="id-1.6.11.14.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>anjutaprofile</p></td>
<td class="parameter_description"><p>the object which received the signal.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run First</p>
</div>
<hr>
<div class="refsect2">
<a name="AnjutaProfile-plugin-added"></a><h3>The <code class="literal">“plugin-added”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *profile,
<span class="type">gpointer</span> plugin,
<span class="type">gpointer</span> user_data)</pre>
<p>Emitted when a plugin is added in the list.</p>
<div class="refsect3">
<a name="id-1.6.11.14.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>profile</p></td>
<td class="parameter_description"><p>a <a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> object.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>plugin</p></td>
<td class="parameter_description"><p>the new plugin as a <a class="link" href="AnjutaPluginHandle.html" title="AnjutaPluginHandle"><span class="type">AnjutaPluginHandle</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run First</p>
</div>
<hr>
<div class="refsect2">
<a name="AnjutaProfile-plugin-removed"></a><h3>The <code class="literal">“plugin-removed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *profile,
<span class="type">gpointer</span> plugin,
<span class="type">gpointer</span> user_data)</pre>
<p>Emitted when a plugin is removed from the list.</p>
<div class="refsect3">
<a name="id-1.6.11.14.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>profile</p></td>
<td class="parameter_description"><p>a <a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> object.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>plugin</p></td>
<td class="parameter_description"><p>the removed plugin as a <a class="link" href="AnjutaPluginHandle.html" title="AnjutaPluginHandle"><span class="type">AnjutaPluginHandle</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run First</p>
</div>
<hr>
<div class="refsect2">
<a name="AnjutaProfile-scoped"></a><h3>The <code class="literal">“scoped”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="AnjutaProfile.html" title="AnjutaProfile"><span class="type">AnjutaProfile</span></a> *anjutaprofile,
<span class="type">gpointer</span> user_data)</pre>
<p>
</p>
<div class="refsect3">
<a name="id-1.6.11.14.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>anjutaprofile</p></td>
<td class="parameter_description"><p>the object which received the signal.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run First</p>
</div>
</div>
<div class="refsect1">
<a name="AnjutaProfile.see-also"></a><h2>See Also</h2>
<p><a class="link" href="AnjutaProfileManager.html" title="AnjutaProfileManager"><span class="type">AnjutaProfileManager</span></a>, <a class="link" href="AnjutaPlugin.html" title="AnjutaPlugin"><span class="type">AnjutaPlugin</span></a></p>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.21</div>
</body>
</html>
|