Mercurial > audlegacy
annotate src/audacious/auddrct.h @ 3395:df609e7e7bcf
updated romanian translation
| author | Cristi Magherusan <majeru@atheme-project.org> |
|---|---|
| date | Sun, 26 Aug 2007 03:06:40 +0300 |
| parents | f1c756f39e6c |
| children | 22d71f986b86 |
| rev | line source |
|---|---|
|
2739
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
1 /* |
|
2892
2f5e02538dfa
Backed out changeset 06858ea4b9d01dab0ce54891221bd1534a9c5ade
William Pitcock <nenolod@atheme.org>
parents:
2863
diff
changeset
|
2 * Audacious: A cross-platform multimedia player |
|
2739
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
3 * Copyright (c) 2007 Giacomo Lozito |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
4 * |
|
2892
2f5e02538dfa
Backed out changeset 06858ea4b9d01dab0ce54891221bd1534a9c5ade
William Pitcock <nenolod@atheme.org>
parents:
2863
diff
changeset
|
5 * This program is free software; you can redistribute it and/or modify |
|
2f5e02538dfa
Backed out changeset 06858ea4b9d01dab0ce54891221bd1534a9c5ade
William Pitcock <nenolod@atheme.org>
parents:
2863
diff
changeset
|
6 * it under the terms of the GNU General Public License as published by |
|
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
2892
diff
changeset
|
7 * the Free Software Foundation; under version 3 of the License. |
|
2739
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
8 * |
|
2892
2f5e02538dfa
Backed out changeset 06858ea4b9d01dab0ce54891221bd1534a9c5ade
William Pitcock <nenolod@atheme.org>
parents:
2863
diff
changeset
|
9 * This program is distributed in the hope that it will be useful, |
|
2f5e02538dfa
Backed out changeset 06858ea4b9d01dab0ce54891221bd1534a9c5ade
William Pitcock <nenolod@atheme.org>
parents:
2863
diff
changeset
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
2f5e02538dfa
Backed out changeset 06858ea4b9d01dab0ce54891221bd1534a9c5ade
William Pitcock <nenolod@atheme.org>
parents:
2863
diff
changeset
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
2f5e02538dfa
Backed out changeset 06858ea4b9d01dab0ce54891221bd1534a9c5ade
William Pitcock <nenolod@atheme.org>
parents:
2863
diff
changeset
|
12 * GNU General Public License for more details. |
|
2739
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
13 * |
|
2892
2f5e02538dfa
Backed out changeset 06858ea4b9d01dab0ce54891221bd1534a9c5ade
William Pitcock <nenolod@atheme.org>
parents:
2863
diff
changeset
|
14 * You should have received a copy of the GNU General Public License |
|
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
2892
diff
changeset
|
15 * along with this program. If not, see <http://www.gnu.org/licenses>. |
|
3123
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
16 * |
|
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
17 * The Audacious team does not consider modular code linking to |
|
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
18 * Audacious or using our public API to be a derived work. |
|
2739
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
19 */ |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
20 |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
21 /* audacious_drct_* provides a handy interface for player |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
22 plugins, originally intended for migration from xmms_remote_* calls */ |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
23 |
| 2775 | 24 #ifndef AUDDRCT_H |
| 25 #define AUDDRCT_H | |
| 26 | |
|
2739
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
27 #include <glib.h> |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
28 |
| 2742 | 29 /* player */ |
| 30 void audacious_drct_quit ( void ); | |
| 31 void audacious_drct_eject ( void ); | |
| 2745 | 32 void audacious_drct_jtf_show ( void ); |
| 2742 | 33 gboolean audacious_drct_main_win_is_visible ( void ); |
| 2744 | 34 void audacious_drct_main_win_toggle ( gboolean ); |
| 35 gboolean audacious_drct_eq_win_is_visible ( void ); | |
| 36 void audacious_drct_eq_win_toggle ( gboolean ); | |
| 37 gboolean audacious_drct_pl_win_is_visible ( void ); | |
| 38 void audacious_drct_pl_win_toggle ( gboolean ); | |
| 2785 | 39 void audacious_drct_set_skin(gchar *skinfile); |
| 40 void audacious_drct_activate(void); | |
|
2739
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
41 |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
42 /* playback */ |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
43 void audacious_drct_play ( void ); |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
44 void audacious_drct_pause ( void ); |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
45 void audacious_drct_stop ( void ); |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
46 gboolean audacious_drct_get_playing ( void ); |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
47 gboolean audacious_drct_get_paused ( void ); |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
48 gboolean audacious_drct_get_stopped ( void ); |
| 2748 | 49 void audacious_drct_get_info( gint *rate, gint *freq, gint *nch); |
|
2739
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
50 gint audacious_drct_get_time ( void ); |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
51 void audacious_drct_seek ( guint pos ); |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
52 void audacious_drct_get_volume( gint *vl, gint *vr ); |
|
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff
changeset
|
53 void audacious_drct_set_volume( gint vl, gint vr ); |
| 2760 | 54 void audacious_drct_get_volume_main( gint *v ); |
| 55 void audacious_drct_set_volume_main( gint v ); | |
| 56 void audacious_drct_get_volume_balance( gint *b ); | |
| 57 void audacious_drct_set_volume_balance( gint b ); | |
| 2742 | 58 |
| 59 /* playlist */ | |
| 60 void audacious_drct_pl_next( void ); | |
| 61 void audacious_drct_pl_prev( void ); | |
| 2745 | 62 gboolean audacious_drct_pl_repeat_is_enabled ( void ); |
| 63 void audacious_drct_pl_repeat_toggle ( void ); | |
| 64 gboolean audacious_drct_pl_repeat_is_shuffled ( void ); | |
| 65 void audacious_drct_pl_shuffle_toggle ( void ); | |
| 2748 | 66 gchar *audacious_drct_pl_get_title( gint pos ); |
| 67 gint audacious_drct_pl_get_time( gint pos ); | |
| 68 gint audacious_drct_pl_get_pos( void ); | |
| 69 gchar *audacious_drct_pl_get_file( gint pos ); | |
| 2760 | 70 void audacious_drct_pl_add ( GList * list ); |
| 71 void audacious_drct_pl_clear ( void ); | |
| 2775 | 72 gint audacious_drct_pl_get_length( void ); |
| 73 void audacious_drct_pl_delete ( gint pos ); | |
| 74 void audacious_drct_pl_set_pos( gint pos ); | |
| 75 void audacious_drct_pl_ins_url_string( gchar * string, gint pos ); | |
| 76 void audacious_drct_pl_add_url_string( gchar * string ); | |
| 77 void audacious_drct_pl_enqueue_to_temp( gchar * string ); | |
| 78 | |
| 79 /* playqueue */ | |
| 80 gint audacious_drct_pq_get_length( void ); | |
| 81 void audacious_drct_pq_add( gint pos ); | |
| 82 void audacious_drct_pq_remove( gint pos ); | |
| 83 void audacious_drct_pq_clear( void ); | |
| 84 gboolean audacious_drct_pq_is_queued( gint pos ); | |
| 85 gint audacious_drct_pq_get_position( gint pos ); | |
| 86 gint audaciuos_drct_pq_get_queue_position( gint pos ); | |
| 87 | |
|
2803
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
88 /* adjust naming scheme to audacious_remote_* functions */ |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
89 #define audacious_drct_show_jtf_box audacious_drct_jtf_show |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
90 #define audacious_drct_is_eq_win audacious_drct_eq_win_is_visible |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
91 #define audacious_drct_is_pl_win audacious_drct_pl_win_is_visible |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
92 #define audacious_drct_is_playing audacious_drct_get_playing |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
93 #define audacious_drct_is_paused audacious_drct_get_paused |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
94 #define audacious_drct_get_output_time audacious_drct_get_time |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
95 #define audacious_drct_jump_to_time audacious_drct_seek |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
96 #define audacious_drct_get_main_volume audacious_drct_get_volume_main |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
97 #define audacious_drct_set_main_volume audacious_drct_set_volume_main |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
98 #define audacious_drct_get__balance audacious_drct_get_volume_balance |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
99 #define audacious_drct_set_balance audacious_drct_set_volume_balance |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
100 #define audacious_drct_playlist_next audacious_drct_pl_next |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
101 #define audacious_drct_playlist_prev audacious_drct_pl_prev |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
102 #define audacious_drct_is_repeat audacious_drct_pl_repeat_is_enabled |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
103 |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
104 #define audacious_drct_toggle_repeat audacious_drct_pl_repeat_toggle |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
105 #define audacious_drct_is_shuffle audacious_drct_pl_repeat_is_shuffled |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
106 #define audacious_drct_toggle_shuffle audacious_drct_pl_shuffle_toggle |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
107 #define audacious_drct_get_playlist_title audacious_drct_pl_get_title |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
108 #define audacious_drct_get_playlist_time audacious_drct_pl_get_time |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
109 #define audacious_drct_get_playlist_pos audacious_drct_pl_get_pos |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
110 #define audacious_drct_get_playlist_file audacious_drct_pl_get_file |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
111 #define audacious_drct_playlist_add audacious_drct_pl_add |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
112 #define audacious_drct_playlist_clear audacious_drct_pl_clear |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
113 #define audacious_drct_get_playlist_length audacious_drct_pl_get_length |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
114 #define audacious_drct_playlist_delete audacious_drct_pl_delete |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
115 #define audacious_drct_set_playlist_pos audacious_drct_pl_set_pos |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
116 #define audacious_drct_playlist_ins_url_string audacious_drct_pl_ins_url_string |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
117 #define audacious_drct_playlist_add_url_string audacious_drct_pl_add_url_string |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
118 #define audacious_drct_playlist_enqueue_to_temp audacious_drct_pl_enqueue_to_temp |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
119 |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
120 #define audacious_drct_get_playqueue_length audacious_drct_pq_get_length |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
121 #define audacious_drct_playqueue_add audacious_drct_pq_add |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
122 #define audacious_drct_playqueue_remove audacious_drct_pq_remove |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
123 #define audacious_drct_playqueue_clear audacious_drct_pq_clear |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
124 #define audacious_drct_playqueue_is_queued audacious_drct_pq_is_queued |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
125 #define audacious_drct_get_playqueue_position audacious_drct_pq_get_position |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
126 #define audacious_drct_get_playqueue_queue_position audaciuos_drct_pq_get_queue_position |
|
2d915b3e3e52
[svn] - adjust naming scheme of audacious_drct_* to audacious_remote_* by defining macros.
yaz
parents:
2785
diff
changeset
|
127 |
| 2775 | 128 #endif |
