comparison Plugins/Visualization/paranormal/pn/pnactuatorlist.h @ 1507:0c5fdcf3f947 trunk

[svn] - incomplete stuff
author nenolod
date Sun, 06 Aug 2006 01:53:29 -0700
parents
children
comparison
equal deleted inserted replaced
1506:2a8e193c07a6 1507:0c5fdcf3f947
1 /* Paranormal - A highly customizable audio visualization library
2 * Copyright (C) 2001 Jamie Gennis <jgennis@mindspring.com>
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library 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 GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the Free
16 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 */
18
19 #ifndef __PN_ACTUATOR_LIST_H__
20 #define __PN_ACTUATOR_LIST_H__
21
22 #include "pncontainer.h"
23
24
25 G_BEGIN_DECLS
26
27
28 enum
29 {
30 PN_ACTUATOR_LIST_OPT_LAST = PN_CONTAINER_OPT_LAST
31 };
32
33 #define PN_TYPE_ACTUATOR_LIST (pn_actuator_list_get_type ())
34 #define PN_ACTUATOR_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PN_TYPE_ACTUATOR_LIST, PnActuatorList))
35 #define PN_ACTUATOR_LIST_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), PN_TYPE_ACTUATOR_LIST, PnActuatorListClass))
36 #define PN_IS_ACTUATOR_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PN_TYPE_ACTUATOR_LIST))
37 #define PN_IS_ACTUATOR_LIST_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), PN_TYPE_ACTUATOR_LIST))
38 #define PN_ACTUATOR_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PN_TYPE_ACTUATOR_LIST, PnActuatorListClass))
39
40 #define PN_ACTUATOR_LIST_ACTUATORS(obj) (PN_ACTUATOR_LIST (obj)->actuators)
41
42 typedef struct _PnActuatorList PnActuatorList;
43 typedef struct _PnActuatorListClass PnActuatorListClass;
44
45 struct _PnActuatorList
46 {
47 PnContainer parent;
48 };
49
50 struct _PnActuatorListClass
51 {
52 PnContainerClass parent_class;
53 };
54
55 /* Creators */
56 GType pn_actuator_list_get_type (void);
57 PnActuatorList *pn_actuator_list_new (void);
58
59 #endif /* __PN_ACTUATOR_LIST_H__ */