annotate src/aosd/aosd_trigger_private.h @ 3148:d443c917dab9

Remove stale library variable from Makefile, as pointed out by RafaŠČ MuŤ÷yŠČo on #audacious.
author Tony Vroon <chainsaw@gentoo.org>
date Mon, 11 May 2009 17:32:04 +0100
parents 05bc0456fabb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
597
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
1 /*
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
2 *
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
3 * Author: Giacomo Lozito <james@develia.org>, (C) 2005-2007
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
4 *
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
5 * This program is free software; you can redistribute it and/or modify it
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
6 * under the terms of the GNU General Public License as published by the
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
7 * Free Software Foundation; either version 2 of the License, or (at your
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
8 * option) any later version.
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
9 *
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
10 * This program is distributed in the hope that it will be useful, but
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
13 * General Public License for more details.
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
14 *
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License along
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
16 * with this program; if not, write to the Free Software Foundation, Inc.,
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
18 *
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
19 */
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
20
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
21 #ifndef _I_AOSD_TRIGGER_PRIVATE_H
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
22 #define _I_AOSD_TRIGGER_PRIVATE_H 1
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
23
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
24 #include "aosd_common.h"
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
25 #include <glib.h>
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
26
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
27
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
28 /* trigger object
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
29 ----------------------------------------------------------
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
30 name name
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
31 desc description
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
32 onoff_func function used to enable/disable the trigger
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
33 callback_func function called by triggering event
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
34 */
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
35 typedef struct
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
36 {
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
37 const gchar * name;
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
38 const gchar * desc;
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
39 void (*onoff_func)( gboolean );
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
40 void (*callback_func)( gpointer , gpointer );
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
41 }
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
42 aosd_trigger_t;
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
43
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
44
05bc0456fabb [svn] - aosd: add missing aosd_trigger* sources
giacomo
parents:
diff changeset
45 #endif /* !_I_AOSD_TRIGGER_PRIVATE_H */