Mercurial > audlegacy-plugins
view src/sid/xs_init.c @ 2497:ed6c81bd9016
Include cleanups, part #2.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 31 Mar 2008 14:55:14 +0300 |
parents | 2929671351b8 |
children | 1223e8510d8a |
line wrap: on
line source
/* XMMS-SID - SIDPlay input plugin for X MultiMedia System (XMMS) Plugin initialization point Programmed and designed by Matti 'ccr' Hamalainen <ccr@tnsp.org> (C) Copyright 1999-2007 Tecnic Software productions (TNSP) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "xmms-sid.h" #include "xs_config.h" #include "xs_fileinfo.h" static gchar *xs_sid_fmts[] = { "sid", "psid", NULL }; InputPlugin xs_plugin_ip = { .description = XS_PACKAGE_STRING, /* Plugin description */ .init = xs_init, /* Initialization */ .cleanup = xs_close, /* Cleanup */ .about = xs_about, /* Show aboutbox */ .configure = xs_configure, /* Show/edit configuration */ .play_file = xs_play_file, /* Play given file */ .stop = xs_stop, /* Stop playing */ .pause = xs_pause, /* Pause playing */ .seek = xs_seek, /* Seek time */ .get_time = xs_get_time, /* Get playing time */ .file_info_box = xs_fileinfo, /* Show file-information dialog */ .get_song_tuple = xs_get_song_tuple, /* Get Tuple */ .vfs_extensions = xs_sid_fmts, /* File ext assist */ .probe_for_tuple = xs_probe_for_tuple, .have_subtune = TRUE }; static InputPlugin *sid_iplist[] = { &xs_plugin_ip, NULL }; DECLARE_PLUGIN(sid, NULL, NULL, sid_iplist, NULL, NULL, NULL, NULL, NULL);