Audacious
$Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
00001 /* 00002 * Audacious 00003 * Copyright (c) 2006-2007 Audacious development team. 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; under version 3 of the License. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses>. 00016 * 00017 * The Audacious team does not consider modular code linking to 00018 * Audacious or using our public API to be a derived work. 00019 */ 00020 00021 #include <glib.h> 00022 00023 #include "hook.h" 00024 00025 #ifndef AUDACIOUS_EVENTQUEUE_H 00026 #define AUDACIOUS_EVENTQUEUE_H 00027 00028 typedef struct { 00029 gchar *name; 00030 gpointer *user_data; 00031 gboolean free_data; 00032 } HookCallQueue; 00033 00034 void event_queue(const gchar *name, gpointer user_data); 00035 void event_queue_timed(gint time, const gchar *name, gpointer user_data); 00036 void event_queue_with_data_free(const gchar *name, gpointer user_data); 00037 00038 #endif /* AUDACIOUS_EVENTQUEUE_H */