Mercurial > hg > xmms-sid
annotate src/xs_init.c @ 235:d04191d1ea64
Add xs_fileinfo.h, move appropriate function prototypes there.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 21 Dec 2004 13:34:02 +0000 |
parents | e613873c3379 |
children | dd201740a720 |
rev | line source |
---|---|
1 | 1 /* |
3 | 2 XMMS-SID - SIDPlay input plugin for X MultiMedia System (XMMS) |
1 | 3 |
4 Plugin initialization point | |
5 | |
3 | 6 Written by Matti "ccr" Hamalainen <ccr@tnsp.org> |
1 | 7 |
8 This program is free software; you can redistribute it and/or modify | |
9 it under the terms of the GNU General Public License as published by | |
10 the Free Software Foundation; either version 2 of the License, or | |
11 (at your option) any later version. | |
12 | |
13 This program is distributed in the hope that it will be useful, | |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 GNU General Public License for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
19 along with this program; if not, write to the Free Software | |
20 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
21 */ | |
22 | |
23 #include "xmms-sid.h" | |
24 | 24 #include "xs_config.h" |
235
d04191d1ea64
Add xs_fileinfo.h, move appropriate function prototypes there.
Matti Hamalainen <ccr@tnsp.org>
parents:
232
diff
changeset
|
25 #include "xs_fileinfo.h" |
1 | 26 |
3 | 27 InputPlugin xs_plugin_ip = { |
28 NULL, /* FILLED BY XMMS */ | |
29 NULL, /* FILLED BY XMMS */ | |
24 | 30 PACKAGE_STRING, /* Plugin description */ |
3 | 31 xs_init, /* Initialization */ |
40
1788f4ce6a44
Numerous changes towards 0.8
Matti Hamalainen <ccr@tnsp.org>
parents:
24
diff
changeset
|
32 xs_about, /* Show aboutbox */ |
3 | 33 xs_configure, /* Show/edit configuration */ |
34 xs_is_our_file, /* Check file */ | |
35 NULL, /* Scan directory */ | |
36 xs_play_file, /* Play given file */ | |
37 xs_stop, /* Stop playing */ | |
38 xs_pause, /* Pause playing */ | |
39 xs_seek, /* Seek time */ | |
40 NULL, /* Set equalizer */ | |
41 xs_get_time, /* Get playing time */ | |
42 NULL, /* Get volume */ | |
43 NULL, /* Set volume */ | |
44 xs_close, /* Cleanup */ | |
45 NULL, /* OBSOLETE! */ | |
46 NULL, /* Send data to Visualization plugin */ | |
47 NULL, NULL, /* FILLED BY XMMS */ | |
48 xs_get_song_info, /* Get song title and length */ | |
232
e613873c3379
Thread locking now final. All parts, including GTK GUI, should be(?)
Matti Hamalainen <ccr@tnsp.org>
parents:
230
diff
changeset
|
49 xs_fileinfo, /* Show file-information dialog */ |
3 | 50 NULL /* FILLED BY XMMS */ |
1 | 51 }; |
52 | |
53 | |
54 | |
55 /* | |
3 | 56 * Return plugin information |
57 */ | |
58 InputPlugin *get_iplugin_info(void) | |
1 | 59 { |
3 | 60 return &xs_plugin_ip; |
1 | 61 } |
3 | 62 |