diff src/xs_init.c @ 1:183e7cbc1036

Initial revision
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 03 Jun 2003 10:23:04 +0000
parents
children 279b1e12df2b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/xs_init.c	Tue Jun 03 10:23:04 2003 +0000
@@ -0,0 +1,57 @@
+/*  
+   xmms-sid - SIDPlay input plugin for X MultiMedia System (XMMS)
+
+   Plugin initialization point
+   
+   Written by Matti "ccr" Hamalainen <mhamalai@ratol.fi>
+
+   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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+*/
+
+#include "xmms-sid.h"
+
+
+InputPlugin xmms_sid_ip =
+{
+	NULL,
+	NULL,
+	"xmms-sid SIDPlay plugin " VERSION,
+	xs_init,
+	xs_aboutbox,
+	xs_configure,
+	xs_is_our_file,
+	NULL,
+	xs_play_file,
+	xs_stop,
+	xs_pause,
+	xs_seek,
+	NULL,		/*	mpg123_set_eq, */
+	xs_get_time,
+	NULL, NULL, NULL,
+	NULL, NULL, NULL, NULL,
+	xs_get_song_info,
+	xs_file_info_box,
+	NULL
+};
+
+
+
+/*
+ * Return xmms-sid plugin information
+ */	
+InputPlugin * get_iplugin_info(void)
+{
+	return &xmms_sid_ip;
+}