Mercurial > audlegacy
comparison src/libaudclient/audctrl.c @ 2785:182aa34ae6c4 trunk
[svn] - implement some audacious-remote functions.
- implement some audacious-drct functions.
- make some command line options work. (this may incur very slow startup.)
- suppress warnings.
| author | yaz |
|---|---|
| date | Tue, 22 May 2007 15:17:15 -0700 |
| parents | bf2d80abf76e |
| children | f42a5b531c03 |
comparison
equal
deleted
inserted
replaced
| 2784:0a982aad6e07 | 2785:182aa34ae6c4 |
|---|---|
| 39 * | 39 * |
| 40 * Sends a playlist to audacious. | 40 * Sends a playlist to audacious. |
| 41 **/ | 41 **/ |
| 42 void audacious_remote_playlist(DBusGProxy *proxy, gchar **list, gint num, | 42 void audacious_remote_playlist(DBusGProxy *proxy, gchar **list, gint num, |
| 43 gboolean enqueue) { | 43 gboolean enqueue) { |
| 44 //XXX | |
| 44 } | 45 } |
| 45 | 46 |
| 46 /** | 47 /** |
| 47 * audacious_remote_get_version: | 48 * audacious_remote_get_version: |
| 48 * @proxy: DBus proxy for audacious | 49 * @proxy: DBus proxy for audacious |
| 50 * Queries audacious for it's protocol version. | 51 * Queries audacious for it's protocol version. |
| 51 * | 52 * |
| 52 * Return value: The protocol version used by Audacious. | 53 * Return value: The protocol version used by Audacious. |
| 53 **/ | 54 **/ |
| 54 gint audacious_remote_get_version(DBusGProxy *proxy) { | 55 gint audacious_remote_get_version(DBusGProxy *proxy) { |
| 56 //XXX | |
| 55 return 0; | 57 return 0; |
| 56 } | 58 } |
| 57 | 59 |
| 58 /** | 60 /** |
| 59 * audacious_remote_playlist_add: | 61 * audacious_remote_playlist_add: |
| 61 * @list: A GList of URIs to add to the playlist. | 63 * @list: A GList of URIs to add to the playlist. |
| 62 * | 64 * |
| 63 * Sends a list of URIs to Audacious to add to the playlist. | 65 * Sends a list of URIs to Audacious to add to the playlist. |
| 64 **/ | 66 **/ |
| 65 void audacious_remote_playlist_add(DBusGProxy *proxy, GList *list) { | 67 void audacious_remote_playlist_add(DBusGProxy *proxy, GList *list) { |
| 68 //XXX | |
| 66 } | 69 } |
| 67 | 70 |
| 68 /** | 71 /** |
| 69 * audacious_remote_playlist_delete: | 72 * audacious_remote_playlist_delete: |
| 70 * @proxy: DBus proxy for audacious | 73 * @proxy: DBus proxy for audacious |
| 71 * @pos: The playlist position to delete. | 74 * @pos: The playlist position to delete. |
| 72 * | 75 * |
| 73 * Deletes a playlist entry. | 76 * Deletes a playlist entry. |
| 74 **/ | 77 **/ |
| 75 void audacious_remote_playlist_delete(DBusGProxy *proxy, guint pos) { | 78 void audacious_remote_playlist_delete(DBusGProxy *proxy, guint pos) { |
| 79 //XXX | |
| 76 } | 80 } |
| 77 | 81 |
| 78 /** | 82 /** |
| 79 * audacious_remote_play: | 83 * audacious_remote_play: |
| 80 * @proxy: DBus proxy for audacious | 84 * @proxy: DBus proxy for audacious |
| 159 * @pos: Playlist position to jump to. | 163 * @pos: Playlist position to jump to. |
| 160 * | 164 * |
| 161 * Tells audacious to jump to a different playlist position. | 165 * Tells audacious to jump to a different playlist position. |
| 162 **/ | 166 **/ |
| 163 void audacious_remote_set_playlist_pos(DBusGProxy *proxy, guint pos) { | 167 void audacious_remote_set_playlist_pos(DBusGProxy *proxy, guint pos) { |
| 168 org_atheme_audacious_jump (proxy, pos, &error); | |
| 169 g_clear_error(&error); | |
| 164 } | 170 } |
| 165 | 171 |
| 166 /** | 172 /** |
| 167 * audacious_remote_get_playlist_length: | 173 * audacious_remote_get_playlist_length: |
| 168 * @proxy: DBus proxy for audacious | 174 * @proxy: DBus proxy for audacious |
| 210 * @pos: The time (in milliseconds) to jump to. | 216 * @pos: The time (in milliseconds) to jump to. |
| 211 * | 217 * |
| 212 * Tells audacious to seek to a new time position. | 218 * Tells audacious to seek to a new time position. |
| 213 **/ | 219 **/ |
| 214 void audacious_remote_jump_to_time(DBusGProxy *proxy, guint pos) { | 220 void audacious_remote_jump_to_time(DBusGProxy *proxy, guint pos) { |
| 221 org_atheme_audacious_seek (proxy, pos, &error); | |
| 222 g_clear_error(&error); | |
| 215 } | 223 } |
| 216 | 224 |
| 217 /** | 225 /** |
| 218 * audacious_remote_get_volume: | 226 * audacious_remote_get_volume: |
| 219 * @proxy: DBus proxy for audacious | 227 * @proxy: DBus proxy for audacious |
| 330 * Queries Audacious about it's skin. | 338 * Queries Audacious about it's skin. |
| 331 * | 339 * |
| 332 * Return value: A path to the currently selected skin. | 340 * Return value: A path to the currently selected skin. |
| 333 **/ | 341 **/ |
| 334 gchar *audacious_remote_get_skin(DBusGProxy *proxy) { | 342 gchar *audacious_remote_get_skin(DBusGProxy *proxy) { |
| 343 //XXX | |
| 335 return NULL; | 344 return NULL; |
| 336 } | 345 } |
| 337 | 346 |
| 338 /** | 347 /** |
| 339 * audacious_remote_set_skin: | 348 * audacious_remote_set_skin: |
| 341 * @skinfile: Path to a skinfile to use with Audacious. | 350 * @skinfile: Path to a skinfile to use with Audacious. |
| 342 * | 351 * |
| 343 * Tells audacious to start using the skinfile provided. | 352 * Tells audacious to start using the skinfile provided. |
| 344 **/ | 353 **/ |
| 345 void audacious_remote_set_skin(DBusGProxy *proxy, gchar *skinfile) { | 354 void audacious_remote_set_skin(DBusGProxy *proxy, gchar *skinfile) { |
| 355 //XXX | |
| 346 } | 356 } |
| 347 | 357 |
| 348 /** | 358 /** |
| 349 * audacious_remote_get_playlist_file: | 359 * audacious_remote_get_playlist_file: |
| 350 * @proxy: DBus proxy for audacious | 360 * @proxy: DBus proxy for audacious |
| 402 * | 412 * |
| 403 * Queries Audacious about the current audio format. | 413 * Queries Audacious about the current audio format. |
| 404 **/ | 414 **/ |
| 405 void audacious_remote_get_info(DBusGProxy *proxy, gint *rate, gint *freq, | 415 void audacious_remote_get_info(DBusGProxy *proxy, gint *rate, gint *freq, |
| 406 gint *nch) { | 416 gint *nch) { |
| 417 org_atheme_audacious_info(proxy, rate, freq, nch, &error); | |
| 418 g_clear_error(&error); | |
| 407 } | 419 } |
| 408 | 420 |
| 409 /** | 421 /** |
| 410 * audacious_remote_main_win_toggle: | 422 * audacious_remote_main_win_toggle: |
| 411 * @proxy: DBus proxy for audacious | 423 * @proxy: DBus proxy for audacious |
| 494 * @proxy: DBus proxy for audacious | 506 * @proxy: DBus proxy for audacious |
| 495 * | 507 * |
| 496 * Tells audacious to show the preferences pane. | 508 * Tells audacious to show the preferences pane. |
| 497 **/ | 509 **/ |
| 498 void audacious_remote_show_prefs_box(DBusGProxy *proxy) { | 510 void audacious_remote_show_prefs_box(DBusGProxy *proxy) { |
| 511 //XXX | |
| 499 } | 512 } |
| 500 | 513 |
| 501 /** | 514 /** |
| 502 * audacious_remote_toggle_aot: | 515 * audacious_remote_toggle_aot: |
| 503 * @proxy: DBus proxy for audacious | 516 * @proxy: DBus proxy for audacious |
| 504 * @ontop: Whether or not Audacious should be always-on-top. | 517 * @ontop: Whether or not Audacious should be always-on-top. |
| 505 * | 518 * |
| 506 * Tells audacious to toggle the always-on-top feature. | 519 * Tells audacious to toggle the always-on-top feature. |
| 507 **/ | 520 **/ |
| 508 void audacious_remote_toggle_aot(DBusGProxy *proxy, gboolean ontop) { | 521 void audacious_remote_toggle_aot(DBusGProxy *proxy, gboolean ontop) { |
| 522 //XXX | |
| 509 } | 523 } |
| 510 | 524 |
| 511 /** | 525 /** |
| 512 * audacious_remote_eject: | 526 * audacious_remote_eject: |
| 513 * @proxy: DBus proxy for audacious | 527 * @proxy: DBus proxy for audacious |
| 524 * @proxy: DBus proxy for audacious | 538 * @proxy: DBus proxy for audacious |
| 525 * | 539 * |
| 526 * Tells audacious to move backwards in the playlist. | 540 * Tells audacious to move backwards in the playlist. |
| 527 **/ | 541 **/ |
| 528 void audacious_remote_playlist_prev(DBusGProxy *proxy) { | 542 void audacious_remote_playlist_prev(DBusGProxy *proxy) { |
| 543 org_atheme_audacious_reverse(proxy, &error); | |
| 544 g_clear_error(&error); | |
| 529 } | 545 } |
| 530 | 546 |
| 531 /** | 547 /** |
| 532 * audacious_remote_playlist_next: | 548 * audacious_remote_playlist_next: |
| 533 * @proxy: DBus proxy for audacious | 549 * @proxy: DBus proxy for audacious |
| 534 * | 550 * |
| 535 * Tells audacious to move forward in the playlist. | 551 * Tells audacious to move forward in the playlist. |
| 536 **/ | 552 **/ |
| 537 void audacious_remote_playlist_next(DBusGProxy *proxy) { | 553 void audacious_remote_playlist_next(DBusGProxy *proxy) { |
| 554 org_atheme_audacious_advance(proxy, &error); | |
| 555 g_clear_error(&error); | |
| 538 } | 556 } |
| 539 | 557 |
| 540 /** | 558 /** |
| 541 * audacious_remote_playlist_add_url_string: | 559 * audacious_remote_playlist_add_url_string: |
| 542 * @proxy: DBus proxy for audacious | 560 * @proxy: DBus proxy for audacious |
| 557 * Checks to see if an Audacious server is running. | 575 * Checks to see if an Audacious server is running. |
| 558 * | 576 * |
| 559 * Return value: TRUE if yes, otherwise FALSE. | 577 * Return value: TRUE if yes, otherwise FALSE. |
| 560 **/ | 578 **/ |
| 561 gboolean audacious_remote_is_running(DBusGProxy *proxy) { | 579 gboolean audacious_remote_is_running(DBusGProxy *proxy) { |
| 562 return FALSE; | 580 char *string = NULL; |
| 581 org_atheme_audacious_version(proxy, &string, &error); | |
| 582 g_clear_error(&error); | |
| 583 if(string) { | |
| 584 g_free(string); | |
| 585 return TRUE; | |
| 586 } | |
| 587 else | |
| 588 return FALSE; | |
| 563 } | 589 } |
| 564 | 590 |
| 565 /** | 591 /** |
| 566 * audacious_remote_toggle_repeat: | 592 * audacious_remote_toggle_repeat: |
| 567 * @proxy: DBus proxy for audacious | 593 * @proxy: DBus proxy for audacious |
| 568 * | 594 * |
| 569 * Tells audacious to toggle the repeat feature. | 595 * Tells audacious to toggle the repeat feature. |
| 570 **/ | 596 **/ |
| 571 void audacious_remote_toggle_repeat(DBusGProxy *proxy) { | 597 void audacious_remote_toggle_repeat(DBusGProxy *proxy) { |
| 598 org_atheme_audacious_toggle_repeat(proxy, &error); | |
| 599 g_clear_error(&error); | |
| 572 } | 600 } |
| 573 | 601 |
| 574 /** | 602 /** |
| 575 * audacious_remote_toggle_shuffle: | 603 * audacious_remote_toggle_shuffle: |
| 576 * @proxy: DBus proxy for audacious | 604 * @proxy: DBus proxy for audacious |
| 577 * | 605 * |
| 578 * Tells audacious to toggle the shuffle feature. | 606 * Tells audacious to toggle the shuffle feature. |
| 579 **/ | 607 **/ |
| 580 void audacious_remote_toggle_shuffle(DBusGProxy *proxy) { | 608 void audacious_remote_toggle_shuffle(DBusGProxy *proxy) { |
| 609 org_atheme_audacious_toggle_shuffle (proxy, &error); | |
| 610 g_clear_error(&error); | |
| 581 } | 611 } |
| 582 | 612 |
| 583 /** | 613 /** |
| 584 * audacious_remote_is_repeat: | 614 * audacious_remote_is_repeat: |
| 585 * @proxy: DBus proxy for audacious | 615 * @proxy: DBus proxy for audacious |
| 618 * | 648 * |
| 619 * Queries audacious about the equalizer settings. | 649 * Queries audacious about the equalizer settings. |
| 620 **/ | 650 **/ |
| 621 void audacious_remote_get_eq(DBusGProxy *proxy, gfloat *preamp, | 651 void audacious_remote_get_eq(DBusGProxy *proxy, gfloat *preamp, |
| 622 gfloat **bands) { | 652 gfloat **bands) { |
| 653 //XXX | |
| 623 } | 654 } |
| 624 | 655 |
| 625 /** | 656 /** |
| 626 * audacious_remote_get_eq_preamp: | 657 * audacious_remote_get_eq_preamp: |
| 627 * @proxy: DBus proxy for audacious | 658 * @proxy: DBus proxy for audacious |
| 629 * Queries audacious about the equalizer preamp's setting. | 660 * Queries audacious about the equalizer preamp's setting. |
| 630 * | 661 * |
| 631 * Return value: The equalizer preamp's setting. | 662 * Return value: The equalizer preamp's setting. |
| 632 **/ | 663 **/ |
| 633 gfloat audacious_remote_get_eq_preamp(DBusGProxy *proxy) { | 664 gfloat audacious_remote_get_eq_preamp(DBusGProxy *proxy) { |
| 665 //XXX | |
| 666 return 0.0; | |
| 634 } | 667 } |
| 635 | 668 |
| 636 /** | 669 /** |
| 637 * audacious_remote_get_eq_band: | 670 * audacious_remote_get_eq_band: |
| 638 * @proxy: DBus proxy for audacious | 671 * @proxy: DBus proxy for audacious |
| 641 * Queries audacious about an equalizer band's value. | 674 * Queries audacious about an equalizer band's value. |
| 642 * | 675 * |
| 643 * Return value: The equalizer band's value. | 676 * Return value: The equalizer band's value. |
| 644 **/ | 677 **/ |
| 645 gfloat audacious_remote_get_eq_band(DBusGProxy *proxy, gint band) { | 678 gfloat audacious_remote_get_eq_band(DBusGProxy *proxy, gint band) { |
| 679 //XXX | |
| 680 return 0.0; | |
| 646 } | 681 } |
| 647 | 682 |
| 648 /** | 683 /** |
| 649 * audacious_remote_set_eq: | 684 * audacious_remote_set_eq: |
| 650 * @proxy: DBus proxy for audacious | 685 * @proxy: DBus proxy for audacious |
| 653 * | 688 * |
| 654 * Tells audacious to set the equalizer up using the provided values. | 689 * Tells audacious to set the equalizer up using the provided values. |
| 655 **/ | 690 **/ |
| 656 void audacious_remote_set_eq(DBusGProxy *proxy, gfloat preamp, | 691 void audacious_remote_set_eq(DBusGProxy *proxy, gfloat preamp, |
| 657 gfloat *bands) { | 692 gfloat *bands) { |
| 693 //XXX | |
| 658 } | 694 } |
| 659 | 695 |
| 660 /** | 696 /** |
| 661 * audacious_remote_set_eq_preamp: | 697 * audacious_remote_set_eq_preamp: |
| 662 * @proxy: DBus proxy for audacious | 698 * @proxy: DBus proxy for audacious |
| 663 * @preamp: Value for preamp setting. | 699 * @preamp: Value for preamp setting. |
| 664 * | 700 * |
| 665 * Tells audacious to set the equalizer's preamp setting. | 701 * Tells audacious to set the equalizer's preamp setting. |
| 666 **/ | 702 **/ |
| 667 void audacious_remote_set_eq_preamp(DBusGProxy *proxy, gfloat preamp) { | 703 void audacious_remote_set_eq_preamp(DBusGProxy *proxy, gfloat preamp) { |
| 704 //XXX | |
| 668 } | 705 } |
| 669 | 706 |
| 670 /** | 707 /** |
| 671 * audacious_remote_set_eq_band: | 708 * audacious_remote_set_eq_band: |
| 672 * @proxy: DBus proxy for audacious | 709 * @proxy: DBus proxy for audacious |
| 675 * | 712 * |
| 676 * Tells audacious to set an equalizer band's setting. | 713 * Tells audacious to set an equalizer band's setting. |
| 677 **/ | 714 **/ |
| 678 void audacious_remote_set_eq_band(DBusGProxy *proxy, gint band, | 715 void audacious_remote_set_eq_band(DBusGProxy *proxy, gint band, |
| 679 gfloat value) { | 716 gfloat value) { |
| 717 //XXX | |
| 680 } | 718 } |
| 681 | 719 |
| 682 /** | 720 /** |
| 683 * audacious_remote_quit: | 721 * audacious_remote_quit: |
| 684 * @proxy: DBus proxy for audacious | 722 * @proxy: DBus proxy for audacious |
| 695 * @proxy: DBus proxy for audacious | 733 * @proxy: DBus proxy for audacious |
| 696 * | 734 * |
| 697 * Tells audacious to either play or pause. | 735 * Tells audacious to either play or pause. |
| 698 **/ | 736 **/ |
| 699 void audacious_remote_play_pause(DBusGProxy *proxy) { | 737 void audacious_remote_play_pause(DBusGProxy *proxy) { |
| 738 //XXX | |
| 700 } | 739 } |
| 701 | 740 |
| 702 /** | 741 /** |
| 703 * audacious_remote_playlist_ins_url_string: | 742 * audacious_remote_playlist_ins_url_string: |
| 704 * @proxy: DBus proxy for audacious | 743 * @proxy: DBus proxy for audacious |
| 707 * | 746 * |
| 708 * Tells audacious to add an URI to the playlist at a specific position. | 747 * Tells audacious to add an URI to the playlist at a specific position. |
| 709 **/ | 748 **/ |
| 710 void audacious_remote_playlist_ins_url_string(DBusGProxy *proxy, | 749 void audacious_remote_playlist_ins_url_string(DBusGProxy *proxy, |
| 711 gchar *string, guint pos) { | 750 gchar *string, guint pos) { |
| 751 //XXX | |
| 712 } | 752 } |
| 713 | 753 |
| 714 /** | 754 /** |
| 715 * audacious_remote_playqueue_add: | 755 * audacious_remote_playqueue_add: |
| 716 * @proxy: DBus proxy for audacious | 756 * @proxy: DBus proxy for audacious |
| 717 * @pos: The playlist position to add to the queue. | 757 * @pos: The playlist position to add to the queue. |
| 718 * | 758 * |
| 719 * Tells audacious to add a playlist entry to the playqueue. | 759 * Tells audacious to add a playlist entry to the playqueue. |
| 720 **/ | 760 **/ |
| 721 void audacious_remote_playqueue_add(DBusGProxy *proxy, guint pos) { | 761 void audacious_remote_playqueue_add(DBusGProxy *proxy, guint pos) { |
| 762 //XXX | |
| 722 } | 763 } |
| 723 | 764 |
| 724 /** | 765 /** |
| 725 * audacious_remote_playqueue_remove: | 766 * audacious_remote_playqueue_remove: |
| 726 * @proxy: DBus proxy for audacious | 767 * @proxy: DBus proxy for audacious |
| 727 * @pos: The playlist position to remove from the queue. | 768 * @pos: The playlist position to remove from the queue. |
| 728 * | 769 * |
| 729 * Tells audacious to remove a playlist entry from the playqueue. | 770 * Tells audacious to remove a playlist entry from the playqueue. |
| 730 **/ | 771 **/ |
| 731 void audacious_remote_playqueue_remove(DBusGProxy *proxy, guint pos) { | 772 void audacious_remote_playqueue_remove(DBusGProxy *proxy, guint pos) { |
| 773 //XXX | |
| 732 } | 774 } |
| 733 | 775 |
| 734 /** | 776 /** |
| 735 * audacious_remote_get_playqueue_length: | 777 * audacious_remote_get_playqueue_length: |
| 736 * @proxy: DBus proxy for audacious | 778 * @proxy: DBus proxy for audacious |
| 778 * @proxy: DBus proxy for audacious | 820 * @proxy: DBus proxy for audacious |
| 779 * | 821 * |
| 780 * Tells audacious to display the main window and become the selected window. | 822 * Tells audacious to display the main window and become the selected window. |
| 781 **/ | 823 **/ |
| 782 void audacious_remote_activate(DBusGProxy *proxy) { | 824 void audacious_remote_activate(DBusGProxy *proxy) { |
| 825 //XXX | |
| 783 } | 826 } |
| 784 | 827 |
| 785 /** | 828 /** |
| 786 * audacious_remote_show_jtf_box: | 829 * audacious_remote_show_jtf_box: |
| 787 * @proxy: DBus proxy for audacious | 830 * @proxy: DBus proxy for audacious |
| 788 * | 831 * |
| 789 * Tells audacious to show the Jump-to-File pane. | 832 * Tells audacious to show the Jump-to-File pane. |
| 790 **/ | 833 **/ |
| 791 void audacious_remote_show_jtf_box(DBusGProxy *proxy) { | 834 void audacious_remote_show_jtf_box(DBusGProxy *proxy) { |
| 835 //XXX | |
| 792 } | 836 } |
| 793 | 837 |
| 794 /** | 838 /** |
| 795 * audacious_remote_playqueue_clear: | 839 * audacious_remote_playqueue_clear: |
| 796 * @proxy: DBus proxy for audacious | 840 * @proxy: DBus proxy for audacious |
| 797 * | 841 * |
| 798 * Tells audacious to clear the playqueue. | 842 * Tells audacious to clear the playqueue. |
| 799 **/ | 843 **/ |
| 800 void audacious_remote_playqueue_clear(DBusGProxy *proxy) { | 844 void audacious_remote_playqueue_clear(DBusGProxy *proxy) { |
| 845 //XXX | |
| 801 } | 846 } |
| 802 | 847 |
| 803 /** | 848 /** |
| 804 * audacious_remote_playqueue_is_queued: | 849 * audacious_remote_playqueue_is_queued: |
| 805 * @proxy: DBus proxy for audacious | 850 * @proxy: DBus proxy for audacious |
| 808 * Queries audacious about whether or not a playlist entry is in the playqueue. | 853 * Queries audacious about whether or not a playlist entry is in the playqueue. |
| 809 * | 854 * |
| 810 * Return value: TRUE if yes, FALSE otherwise. | 855 * Return value: TRUE if yes, FALSE otherwise. |
| 811 **/ | 856 **/ |
| 812 gboolean audacious_remote_playqueue_is_queued(DBusGProxy *proxy, guint pos) { | 857 gboolean audacious_remote_playqueue_is_queued(DBusGProxy *proxy, guint pos) { |
| 858 //XXX | |
| 859 return FALSE; | |
| 813 } | 860 } |
| 814 | 861 |
| 815 /** | 862 /** |
| 816 * audacious_remote_get_playqueue_position: | 863 * audacious_remote_get_playqueue_position: |
| 817 * @proxy: DBus proxy for audacious | 864 * @proxy: DBus proxy for audacious |
| 820 * Queries audacious about what the playqueue position is for a playlist entry. | 867 * Queries audacious about what the playqueue position is for a playlist entry. |
| 821 * | 868 * |
| 822 * Return value: TRUE if yes, FALSE otherwise. | 869 * Return value: TRUE if yes, FALSE otherwise. |
| 823 **/ | 870 **/ |
| 824 gint audacious_remote_get_playqueue_position(DBusGProxy *proxy, guint pos) { | 871 gint audacious_remote_get_playqueue_position(DBusGProxy *proxy, guint pos) { |
| 872 //XXX | |
| 873 return 0; | |
| 825 } | 874 } |
| 826 | 875 |
| 827 /** | 876 /** |
| 828 * audacious_remote_get_playqueue_queue_position: | 877 * audacious_remote_get_playqueue_queue_position: |
| 829 * @proxy: DBus proxy for audacious | 878 * @proxy: DBus proxy for audacious |
| 833 * | 882 * |
| 834 * Return value: TRUE if yes, FALSE otherwise. | 883 * Return value: TRUE if yes, FALSE otherwise. |
| 835 **/ | 884 **/ |
| 836 gint audacious_remote_get_playqueue_queue_position(DBusGProxy *proxy, | 885 gint audacious_remote_get_playqueue_queue_position(DBusGProxy *proxy, |
| 837 guint pos) { | 886 guint pos) { |
| 887 //XXX | |
| 888 return 0; | |
| 838 } | 889 } |
| 839 | 890 |
| 840 /** | 891 /** |
| 841 * audacious_remote_playlist_enqueue_to_temp: | 892 * audacious_remote_playlist_enqueue_to_temp: |
| 842 * @proxy: DBus proxy for audacious | 893 * @proxy: DBus proxy for audacious |
| 844 * | 895 * |
| 845 * Tells audacious to add an URI to a temporary playlist. | 896 * Tells audacious to add an URI to a temporary playlist. |
| 846 **/ | 897 **/ |
| 847 void audacious_remote_playlist_enqueue_to_temp(DBusGProxy *proxy, | 898 void audacious_remote_playlist_enqueue_to_temp(DBusGProxy *proxy, |
| 848 gchar *string) { | 899 gchar *string) { |
| 900 //XXX | |
| 849 } | 901 } |
| 850 | 902 |
| 851 /** | 903 /** |
| 852 * audacious_get_tuple_field_data: | 904 * audacious_get_tuple_field_data: |
| 853 * @proxy: DBus proxy for audacious | 905 * @proxy: DBus proxy for audacious |
| 858 * | 910 * |
| 859 * Return value: The requested field's data for the entry in the playlist at %pos position. | 911 * Return value: The requested field's data for the entry in the playlist at %pos position. |
| 860 **/ | 912 **/ |
| 861 gchar *audacious_get_tuple_field_data(DBusGProxy *proxy, gchar *field, | 913 gchar *audacious_get_tuple_field_data(DBusGProxy *proxy, gchar *field, |
| 862 guint pos) { | 914 guint pos) { |
| 863 } | 915 //XXX |
| 916 return NULL; | |
| 917 } |
