/usr/share/doc/libgnomevfs2-common/html/gnome-vfs-2.0-gnome-vfs-application-registry.html is in libgnomevfs2-dev 1:2.24.4-1ubuntu6.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Deprecated Application Registry API</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GnomeVFS - Filesystem Abstraction library">
<link rel="up" href="mime-registry.html" title="MIME Registry">
<link rel="prev" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html" title="gnome-vfs-mime-database-deprecated">
<link rel="next" href="modules.html" title="Filesystem Modules">
<meta name="generator" content="GTK-Doc V1.18 (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="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="mime-registry.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">GnomeVFS - Filesystem Abstraction library</th>
<td><a accesskey="n" href="modules.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gnome-vfs-2.0-gnome-vfs-application-registry.synopsis" class="shortcut">Top</a>
|
<a href="#gnome-vfs-2.0-gnome-vfs-application-registry.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gnome-vfs-2.0-gnome-vfs-application-registry"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gnome-vfs-2.0-gnome-vfs-application-registry.top_of_page"></a>Deprecated Application Registry API</span></h2>
<p>Deprecated Application Registry API — formerly used for managing applications. Replaced by
<span class="type">GnomeVFS MIME Database</span> API</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gnome-vfs-2.0-gnome-vfs-application-registry.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">#define <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#GNOME-VFS-APPLICATION-REGISTRY-COMMAND:CAPS" title="GNOME_VFS_APPLICATION_REGISTRY_COMMAND">GNOME_VFS_APPLICATION_REGISTRY_COMMAND</a>
#define <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#GNOME-VFS-APPLICATION-REGISTRY-NAME:CAPS" title="GNOME_VFS_APPLICATION_REGISTRY_NAME">GNOME_VFS_APPLICATION_REGISTRY_NAME</a>
#define <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#GNOME-VFS-APPLICATION-REGISTRY-CAN-OPEN-MULTIPLE-FILES:CAPS" title="GNOME_VFS_APPLICATION_REGISTRY_CAN_OPEN_MULTIPLE_FILES">GNOME_VFS_APPLICATION_REGISTRY_CAN_OPEN_MULTIPLE_FILES</a>
#define <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#GNOME-VFS-APPLICATION-REGISTRY-REQUIRES-TERMINAL:CAPS" title="GNOME_VFS_APPLICATION_REGISTRY_REQUIRES_TERMINAL">GNOME_VFS_APPLICATION_REGISTRY_REQUIRES_TERMINAL</a>
<span class="returnvalue">gboolean</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-exists" title="gnome_vfs_application_registry_exists ()">gnome_vfs_application_registry_exists</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>);
<span class="returnvalue">GList</span> * <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-get-keys" title="gnome_vfs_application_registry_get_keys ()">gnome_vfs_application_registry_get_keys</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>);
const <span class="returnvalue">char</span> * <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-peek-value" title="gnome_vfs_application_registry_peek_value ()">gnome_vfs_application_registry_peek_value</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-get-bool-value" title="gnome_vfs_application_registry_get_bool_value ()">gnome_vfs_application_registry_get_bool_value</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> *got_key</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-remove-application" title="gnome_vfs_application_registry_remove_application ()">gnome_vfs_application_registry_remove_application</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-set-value" title="gnome_vfs_application_registry_set_value ()">gnome_vfs_application_registry_set_value</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *value</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-set-bool-value" title="gnome_vfs_application_registry_set_bool_value ()">gnome_vfs_application_registry_set_bool_value</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-unset-key" title="gnome_vfs_application_registry_unset_key ()">gnome_vfs_application_registry_unset_key</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key</code></em>);
<span class="returnvalue">GList</span> * <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-get-applications" title="gnome_vfs_application_registry_get_applications ()">gnome_vfs_application_registry_get_applications</a>
(<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<span class="returnvalue">GList</span> * <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-get-mime-types" title="gnome_vfs_application_registry_get_mime_types ()">gnome_vfs_application_registry_get_mime_types</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-supports-mime-type" title="gnome_vfs_application_registry_supports_mime_type ()">gnome_vfs_application_registry_supports_mime_type</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-supports-uri-scheme" title="gnome_vfs_application_registry_supports_uri_scheme ()">gnome_vfs_application_registry_supports_uri_scheme</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *uri_scheme</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-is-user-owned-application" title="gnome_vfs_application_is_user_owned_application ()">gnome_vfs_application_is_user_owned_application</a>
(<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *application</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-clear-mime-types" title="gnome_vfs_application_registry_clear_mime_types ()">gnome_vfs_application_registry_clear_mime_types</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-add-mime-type" title="gnome_vfs_application_registry_add_mime_type ()">gnome_vfs_application_registry_add_mime_type</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-remove-mime-type" title="gnome_vfs_application_registry_remove_mime_type ()">gnome_vfs_application_registry_remove_mime_type</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-sync" title="gnome_vfs_application_registry_sync ()">gnome_vfs_application_registry_sync</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-shutdown" title="gnome_vfs_application_registry_shutdown ()">gnome_vfs_application_registry_shutdown</a>
(<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-reload" title="gnome_vfs_application_registry_reload ()">gnome_vfs_application_registry_reload</a>
(<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="returnvalue">GnomeVFSMimeApplication</span></a> * <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-get-mime-application" title="gnome_vfs_application_registry_get_mime_application ()">gnome_vfs_application_registry_get_mime_application</a>
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-vfs-2.0-gnome-vfs-application-registry.html#gnome-vfs-application-registry-save-mime-application" title="gnome_vfs_application_registry_save_mime_application ()">gnome_vfs_application_registry_save_mime_application</a>
(<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *application</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-application-registry.description"></a><h2>Description</h2>
<p>
This API was formerly used to manage the applications known
to GnomeVFS, providing editing capabilities. The system was
overengineered and not very performant, so it has been
replaced by a new API, described in the
<span class="type">GnomeVFS MIME Database</span>
section.
</p>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-application-registry.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GNOME-VFS-APPLICATION-REGISTRY-COMMAND:CAPS"></a><h3>GNOME_VFS_APPLICATION_REGISTRY_COMMAND</h3>
<pre class="programlisting">#define GNOME_VFS_APPLICATION_REGISTRY_COMMAND "command"
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GNOME_VFS_APPLICATION_REGISTRY_COMMAND</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Application registry key for fetching the command to execute
an application.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-VFS-APPLICATION-REGISTRY-NAME:CAPS"></a><h3>GNOME_VFS_APPLICATION_REGISTRY_NAME</h3>
<pre class="programlisting">#define GNOME_VFS_APPLICATION_REGISTRY_NAME "name"
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GNOME_VFS_APPLICATION_REGISTRY_NAME</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Application registry key for fetching the name of an application.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-VFS-APPLICATION-REGISTRY-CAN-OPEN-MULTIPLE-FILES:CAPS"></a><h3>GNOME_VFS_APPLICATION_REGISTRY_CAN_OPEN_MULTIPLE_FILES</h3>
<pre class="programlisting">#define GNOME_VFS_APPLICATION_REGISTRY_CAN_OPEN_MULTIPLE_FILES "can_open_multiple_files"
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GNOME_VFS_APPLICATION_REGISTRY_CAN_OPEN_MULTIPLE_FILES</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Application registry key for determining if an application
can open multiple files in the same invocation.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-VFS-APPLICATION-REGISTRY-REQUIRES-TERMINAL:CAPS"></a><h3>GNOME_VFS_APPLICATION_REGISTRY_REQUIRES_TERMINAL</h3>
<pre class="programlisting">#define GNOME_VFS_APPLICATION_REGISTRY_REQUIRES_TERMINAL "requires_terminal"
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GNOME_VFS_APPLICATION_REGISTRY_REQUIRES_TERMINAL</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Application registry key for determining if an application
needs to run from within a terminal (for example, mpg123)
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-exists"></a><h3>gnome_vfs_application_registry_exists ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gnome_vfs_application_registry_exists
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_exists</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This function will return TRUE if there is an entry for <em class="parameter"><code>app_id</code></em> in
the registry, otherwise FALSE.
</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>app_id</code></em> :</span></p></td>
<td>an application ID</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if the application is in the registry, FALSE if not</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-get-keys"></a><h3>gnome_vfs_application_registry_get_keys ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> * gnome_vfs_application_registry_get_keys
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_get_keys</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This function wil return a list of strings which is the list of
keys set for <em class="parameter"><code>app_id</code></em> in the application registry.
</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>app_id</code></em> :</span></p></td>
<td>the application ID for which to get keys</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A list of the keys set for <em class="parameter"><code>app_id</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-peek-value"></a><h3>gnome_vfs_application_registry_peek_value ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> * gnome_vfs_application_registry_peek_value
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_peek_value</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This will return the value associated with <em class="parameter"><code>key</code></em> for <em class="parameter"><code>app_id</code></em> in the
application registry. There is no need to free the return value.
</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>app_id</code></em> :</span></p></td>
<td>the application ID for which to look up a value</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>the key to look up</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the value associated with the key, or NULL if there is no
associated value</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-get-bool-value"></a><h3>gnome_vfs_application_registry_get_bool_value ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gnome_vfs_application_registry_get_bool_value
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> *got_key</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_get_bool_value</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This will look up a key in the structure pointed to by app_id and return the
boolean value of that key. It will return false if there are no
applications associated with the app_id.
</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>app_id</code></em> :</span></p></td>
<td>registry id of the application</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>key to look up</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>got_key</code></em> :</span></p></td>
<td>TRUE if a setting was dound, otherwise FALSE</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>key</code></em> is set to "true" or "yes" for <em class="parameter"><code>app_id</code></em>, otherwise FALSE</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-remove-application"></a><h3>gnome_vfs_application_registry_remove_application ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_vfs_application_registry_remove_application
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_remove_application</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
Given the registry id this function will remove all applications that has
been set by the user. You will need to call
gnome_vfs_application_registry_sync to save the changes.
</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>app_id</code></em> :</span></p></td>
<td>registry id of the application</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-set-value"></a><h3>gnome_vfs_application_registry_set_value ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_vfs_application_registry_set_value
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_set_value</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This function will set values pertaining to registry entry pointed to by
app_id. You will need to call gnome_vfs_application_registry_sync to
realize the changes.
</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>app_id</code></em> :</span></p></td>
<td>registry id of the application</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>target key</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>value to set the target key to</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-set-bool-value"></a><h3>gnome_vfs_application_registry_set_bool_value ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_vfs_application_registry_set_bool_value
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_set_bool_value</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This function will modify those registry values that are of type boolean to
a value specified by the user. You will need to call
gnome_vfs_application_registry_sync to save your changes.
</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>app_id</code></em> :</span></p></td>
<td>registry id of the application</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>target key</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>value you want to set the target key to</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-unset-key"></a><h3>gnome_vfs_application_registry_unset_key ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_vfs_application_registry_unset_key
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_unset_key</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This function given the application and the target will wipe the current
value that the key contains.
</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>app_id</code></em> :</span></p></td>
<td>registry id of the application</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>search key</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-get-applications"></a><h3>gnome_vfs_application_registry_get_applications ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> * gnome_vfs_application_registry_get_applications
(<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_get_applications</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This will return all applications from the registry that are associated with
the given mime type string, if NULL it returns all applications.
</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>mime_type</code></em> :</span></p></td>
<td>mime type string</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a list of the application IDs for all applications which
support the given mime type.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-get-mime-types"></a><h3>gnome_vfs_application_registry_get_mime_types ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> * gnome_vfs_application_registry_get_mime_types
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_get_mime_types</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This function returns a list of strings that represent the mime
types that can be handled by an application.
</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>app_id</code></em> :</span></p></td>
<td>registry id of application</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a list of the mime types supported</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-supports-mime-type"></a><h3>gnome_vfs_application_registry_supports_mime_type ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gnome_vfs_application_registry_supports_mime_type
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_supports_mime_type</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
Use this function to see if there is an application associated with a given
mime type. The function will return true or false.
</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>app_id</code></em> :</span></p></td>
<td>registry id of application</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>mime type string</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>app_id</code></em> supports <em class="parameter"><code>mime_type</code></em>, otherwise FALSE.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-supports-uri-scheme"></a><h3>gnome_vfs_application_registry_supports_uri_scheme ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gnome_vfs_application_registry_supports_uri_scheme
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *uri_scheme</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_supports_uri_scheme</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
Given the id of the application this function will determine if the
uri scheme will given is supported.
</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>app_id</code></em> :</span></p></td>
<td>registry id of application</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri_scheme</code></em> :</span></p></td>
<td>uri schme string</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>app_id</code></em> supports <em class="parameter"><code>uri_scheme</code></em>, otherwise FALSE</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-is-user-owned-application"></a><h3>gnome_vfs_application_is_user_owned_application ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gnome_vfs_application_is_user_owned_application
(<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *application</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_is_user_owned_application</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This function will determine if a mime application is user owned or not. By
user ownered this means that the application is not a system application
located in the prerequisite /usr area but rather in the user's area.
</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>application</code></em> :</span></p></td>
<td>data structure of the mime application</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>gboolean</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-clear-mime-types"></a><h3>gnome_vfs_application_registry_clear_mime_types ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_vfs_application_registry_clear_mime_types
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_clear_mime_types</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This function will remove the mime types associated with the application.
Changes are not realized until the gnome_vfs_application_registry_sync
function is called to save the changes to the file.
</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>app_id</code></em> :</span></p></td>
<td>Application id</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-add-mime-type"></a><h3>gnome_vfs_application_registry_add_mime_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_vfs_application_registry_add_mime_type
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_add_mime_type</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This function will associate a mime type with an application given the
application registry id and the mime type. Changes are not realized until
the gnome_vfs_application_registry_sync function is called to save the
changes to the file.
</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>app_id</code></em> :</span></p></td>
<td>registry id of application</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>mime type string</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-remove-mime-type"></a><h3>gnome_vfs_application_registry_remove_mime_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_vfs_application_registry_remove_mime_type
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_remove_mime_type</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This function will de-associate a mime type from an application registry.
Given the application registry id and the mime type. Changes are not
realized until the gnome_vfs_application_registry_sync function is called to
save the changes to the file.
</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>app_id</code></em> :</span></p></td>
<td>registry id of the application</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>mime type string</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-sync"></a><h3>gnome_vfs_application_registry_sync ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a> gnome_vfs_application_registry_sync (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_sync</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This function will sync the registry. Typically you would use this function
after a modification of the registry. When you modify the registry a dirty
flag is set. Calling this function will save your modifications to disk and
reset the flag.
</p>
<p>
If successful, will return GNOME_VFS_OK
</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>GnomeVFSResult</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-shutdown"></a><h3>gnome_vfs_application_registry_shutdown ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_vfs_application_registry_shutdown
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_shutdown</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
Synchronize gnome-vfs application registry data to disk, and free
resources.
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-reload"></a><h3>gnome_vfs_application_registry_reload ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_vfs_application_registry_reload
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_reload</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
If this function is called for the first time it will initialize the
registry. Subsequent calls to the function will clear out the current
registry contents and load registry contents from the save file. Make
certain that you've saved your registry before calling this function. It
will destroy unsaved changes.
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-get-mime-application"></a><h3>gnome_vfs_application_registry_get_mime_application ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="returnvalue">GnomeVFSMimeApplication</span></a> * gnome_vfs_application_registry_get_mime_application
(<em class="parameter"><code>const <span class="type">char</span> *app_id</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_get_mime_application</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
Returns a structure that contains the application that handles
the mime type associated by the application referred by app_id.
</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>app_id</code></em> :</span></p></td>
<td>registry id of the application</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>GnomeVFSMimeApplication</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-application-registry-save-mime-application"></a><h3>gnome_vfs_application_registry_save_mime_application ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_vfs_application_registry_save_mime_application
(<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *application</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_application_registry_save_mime_application</code> is deprecated and should not be used in newly-written code. All application registry functions have been
deprecated. Use the functions available in gnome-mime-handlers
instead.</p>
</div>
<p>
This will save to the registry the application that will be associated with
a defined mime type. The defined mime type is located within the
GnomeVFSMimeApplication structure. Changes are not realized until the
gnome_vfs_application_registry_sync function is called.
</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>application</code></em> :</span></p></td>
<td>application associated with the mime type</td>
</tr></tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-application-registry.see-also"></a><h2>See Also</h2>
<p>
<span class="type">GnomeVFS MIME Database API</span>
</p>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|