Mercurial > audlegacy
comparison src/audlegacy/eventqueue.h @ 4811:7bf7f83a217e
rename src/audacious src/audlegacy so that both audlegacy and audacious can coexist.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 26 Nov 2008 00:44:56 +0900 |
parents | src/audacious/eventqueue.h@cf6711eeb12f |
children |
comparison
equal
deleted
inserted
replaced
4810:c10e53092037 | 4811:7bf7f83a217e |
---|---|
1 /* | |
2 * Audacious | |
3 * Copyright (c) 2006-2007 Audacious development team. | |
4 * | |
5 * This program is free software; you can redistribute it and/or modify | |
6 * it under the terms of the GNU General Public License as published by | |
7 * the Free Software Foundation; under version 3 of the License. | |
8 * | |
9 * This program is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License | |
15 * along with this program. If not, see <http://www.gnu.org/licenses>. | |
16 * | |
17 * The Audacious team does not consider modular code linking to | |
18 * Audacious or using our public API to be a derived work. | |
19 */ | |
20 | |
21 #include <glib.h> | |
22 | |
23 #include "audlegacy/hook.h" | |
24 | |
25 #ifndef AUDACIOUS_EVENTQUEUE_H | |
26 #define AUDACIOUS_EVENTQUEUE_H | |
27 | |
28 typedef struct { | |
29 gchar *name; | |
30 gpointer *user_data; | |
31 gboolean free_data; | |
32 } HookCallQueue; | |
33 | |
34 void event_queue(const gchar *name, gpointer user_data); | |
35 void event_queue_timed(gint time, const gchar *name, gpointer user_data); | |
36 void event_queue_with_data_free(const gchar *name, gpointer user_data); | |
37 | |
38 #endif /* AUDACIOUS_EVENTQUEUE_H */ |