Mercurial > audlegacy-plugins
comparison src/OSS4/about.c @ 1214:2a722c3ccd9e
damn, I forgot to 'hg add' the sources
Enjoy OSS4!
author | Cristi Magherusan <majeru@atheme-project.org> |
---|---|
date | Sat, 07 Jul 2007 05:02:14 +0300 |
parents | |
children | a18b7cdc505d |
comparison
equal
deleted
inserted
replaced
1213:e49e02828f85 | 1214:2a722c3ccd9e |
---|---|
1 /* Audacious OSS4 output plugin | |
2 * Copyright (C) 2007 Cristi Magherusan | |
3 * | |
4 * Based on BMP - Cross-platform multimedia player | |
5 * Copyright (C) 2003-2004 BMP development team. | |
6 * | |
7 * Based on XMMS: | |
8 * Copyright (C) 1998-2003 XMMS development team. | |
9 * | |
10 * This program is free software; you can redistribute it and/or modify | |
11 * it under the terms of the GNU General Public License as published by | |
12 * the Free Software Foundation; either version 2 of the License, or | |
13 * (at your option) any later version. | |
14 * | |
15 * This program is distributed in the hope that it will be useful, | |
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 * GNU General Public License for more details. | |
19 * | |
20 * You should have received a copy of the GNU General Public License | |
21 * along with this program; if not, write to the Free Software | |
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
23 */ | |
24 | |
25 #include "OSS4.h" | |
26 | |
27 #include <glib.h> | |
28 #include <audacious/i18n.h> | |
29 #include <gtk/gtk.h> | |
30 | |
31 #include <audacious/util.h> | |
32 | |
33 | |
34 void | |
35 oss_about(void) | |
36 { | |
37 static GtkWidget *dialog; | |
38 | |
39 if (dialog != NULL) | |
40 return; | |
41 | |
42 dialog = xmms_show_message(_("About OSS Driver"), | |
43 _("Audacious OSS4 Driver\n\n " | |
44 "This program is free software; you can redistribute it and/or modify\n" | |
45 "it under the terms of the GNU General Public License as published by\n" | |
46 "the Free Software Foundation; either version 2 of the License, or\n" | |
47 "(at your option) any later version.\n" | |
48 "\n" | |
49 "This program is distributed in the hope that it will be useful,\n" | |
50 "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" | |
51 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" | |
52 "GNU General Public License for more details.\n" | |
53 "\n" | |
54 "You should have received a copy of the GNU General Public License\n" | |
55 "along with this program; if not, write to the Free Software\n" | |
56 "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,\n" | |
57 "USA."), _("Ok"), FALSE, NULL, NULL); | |
58 g_signal_connect(G_OBJECT(dialog), "destroy", | |
59 G_CALLBACK(gtk_widget_destroyed), &dialog); | |
60 } |