Mercurial > hg > xmms-sid
comparison src/xs_init.c @ 660:b0743dc9165d
Change tabs to 4 spaces, everywhere.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 02 Apr 2008 22:10:05 +0300 |
parents | e2f2a9ce0e10 |
children | 9321ffa2ea7e |
comparison
equal
deleted
inserted
replaced
659:04ea91a61225 | 660:b0743dc9165d |
---|---|
24 #include "xs_config.h" | 24 #include "xs_config.h" |
25 #include "xs_fileinfo.h" | 25 #include "xs_fileinfo.h" |
26 | 26 |
27 | 27 |
28 InputPlugin xs_plugin_ip = { | 28 InputPlugin xs_plugin_ip = { |
29 NULL, /* FILLED BY XMMS */ | 29 NULL, /* FILLED BY XMMS */ |
30 NULL, /* FILLED BY XMMS */ | 30 NULL, /* FILLED BY XMMS */ |
31 PACKAGE_STRING, /* Plugin description */ | 31 PACKAGE_STRING, /* Plugin description */ |
32 xs_init, /* Initialization */ | 32 xs_init, /* Initialization */ |
33 xs_about, /* Show aboutbox */ | 33 xs_about, /* Show aboutbox */ |
34 xs_configure, /* Show/edit configuration */ | 34 xs_configure, /* Show/edit configuration */ |
35 xs_is_our_file, /* Check file */ | 35 xs_is_our_file, /* Check file */ |
36 NULL, /* Scan directory */ | 36 NULL, /* Scan directory */ |
37 xs_play_file, /* Play given file */ | 37 xs_play_file, /* Play given file */ |
38 xs_stop, /* Stop playing */ | 38 xs_stop, /* Stop playing */ |
39 xs_pause, /* Pause playing */ | 39 xs_pause, /* Pause playing */ |
40 xs_seek, /* Seek time */ | 40 xs_seek, /* Seek time */ |
41 NULL, /* Set equalizer */ | 41 NULL, /* Set equalizer */ |
42 xs_get_time, /* Get playing time */ | 42 xs_get_time, /* Get playing time */ |
43 NULL, /* Get volume */ | 43 NULL, /* Get volume */ |
44 NULL, /* Set volume */ | 44 NULL, /* Set volume */ |
45 xs_close, /* Cleanup */ | 45 xs_close, /* Cleanup */ |
46 NULL, /* OBSOLETE! */ | 46 NULL, /* OBSOLETE! */ |
47 NULL, /* Send data to Visualization plugin */ | 47 NULL, /* Send data to Visualization plugin */ |
48 NULL, NULL, /* FILLED BY XMMS */ | 48 NULL, NULL, /* FILLED BY XMMS */ |
49 xs_get_song_info, /* Get song title and length */ | 49 xs_get_song_info, /* Get song title and length */ |
50 xs_fileinfo, /* Show file-information dialog */ | 50 xs_fileinfo, /* Show file-information dialog */ |
51 NULL /* FILLED BY XMMS */ | 51 NULL /* FILLED BY XMMS */ |
52 }; | 52 }; |
53 | 53 |
54 | 54 |
55 | 55 |
56 /* | 56 /* |
57 * Return plugin information | 57 * Return plugin information |
58 */ | 58 */ |
59 InputPlugin *get_iplugin_info(void) | 59 InputPlugin *get_iplugin_info(void) |
60 { | 60 { |
61 bindtextdomain(PACKAGE, LOCALEDIR); | 61 bindtextdomain(PACKAGE, LOCALEDIR); |
62 return &xs_plugin_ip; | 62 return &xs_plugin_ip; |
63 } | 63 } |