annotate Plugins/Output/esd/about.c @ 1615:e402e0217870 trunk

[svn] - fix for the long-standing dependency oddness in our build system. now make tool surely picks up changed source files and builds required objectives.
author yaz
date Mon, 04 Sep 2006 19:47:32 -0700
parents 705d4c089fce
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
61
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
1 /* xmms - esound output plugin
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
2 * Copyright (C) 1999 Galex Yen
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
3 * 3/9/99
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
4 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
5 * this program is free software
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
6 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
7 * Description:
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
8 * This program is an output plugin for xmms v0.9 or greater.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
9 * The program uses the esound daemon to output audio in order
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
10 * to allow more than one program to play audio on the same
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
11 * device at the same time.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
12 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
13 * Contains code Copyright (C) 1998-1999 Mikael Alm, Olle Hallnas,
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
14 * Thomas Nillson and 4Front Technologies
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
15 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
16
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
17 #include "esdout.h"
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
18
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
19 #include <glib.h>
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
20 #include <glib/gi18n.h>
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
21 #include <gtk/gtk.h>
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
22
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
23 #include <libaudacious/util.h>
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
24
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
25
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
26 void
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
27 esdout_about(void)
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
28 {
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
29 static GtkWidget *dialog;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
30
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
31 if (dialog != NULL)
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
32 return;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
33
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
34 dialog = xmms_show_message(_("About ESounD Plugin"),
257
256b3acc87d4 [svn] Properly report Audacious instead of XMMS or BMP in all places. Patch by laci; closes bug #379.
chainsaw
parents: 61
diff changeset
35 _("Audacious ESounD Plugin\n\n "
61
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
36 "This program is free software; you can redistribute it and/or modify\n"
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
37 "it under the terms of the GNU General Public License as published by\n"
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
38 "the Free Software Foundation; either version 2 of the License, or\n"
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
39 "(at your option) any later version.\n"
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
40 "\n"
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
41 "This program is distributed in the hope that it will be useful,\n"
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
42 "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
43 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
44 "GNU General Public License for more details.\n"
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
45 "\n"
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
46 "You should have received a copy of the GNU General Public License\n"
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
47 "along with this program; if not, write to the Free Software\n"
1459
705d4c089fce [svn] Fix postal code.
chainsaw
parents: 1458
diff changeset
48 "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,\n"
61
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
49 "USA."), _("Ok"), FALSE, NULL, NULL);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
50 g_signal_connect(G_OBJECT(dialog), "destroy",
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
51 G_CALLBACK(gtk_widget_destroyed), &dialog);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
52 }