BEAST - Free Software Audio Synthesizer and Tracker  0.9.2
bstrackeditor.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __BST_RACK_EDITOR_H__
3 #define __BST_RACK_EDITOR_H__
4 
5 #include "bstracktable.hh"
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif /* __cplusplus */
10 
11 
12 /* --- type macros --- */
13 #define BST_TYPE_RACK_EDITOR (bst_rack_editor_get_type ())
14 #define BST_RACK_EDITOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_RACK_EDITOR, BstRackEditor))
15 #define BST_RACK_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_RACK_EDITOR, BstRackEditorClass))
16 #define BST_IS_RACK_EDITOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_RACK_EDITOR))
17 #define BST_IS_RACK_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_RACK_EDITOR))
18 #define BST_RACK_EDITOR_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BST_TYPE_RACK_EDITOR, BstRackEditorClass))
19 
20 
21 /* --- structures & typedefs --- */
22 typedef struct _BstRackEditor BstRackEditor;
23 typedef struct _BstRackEditorClass BstRackEditorClass;
25 {
26  GtkVBox parent_instance;
27 
28  SfiProxy pocket;
29 
30  BstRackTable *rtable;
31  GSList *plate_list;
32  GtkWidget *button_edit;
33  GSList *item_list;
34 };
36 {
37  GtkVBoxClass parent_class;
38 };
39 
40 
41 /* --- prototypes --- */
42 GtkType bst_rack_editor_get_type (void);
43 GtkWidget* bst_rack_editor_new (SfiProxy rack_view);
44 void bst_rack_editor_set_rack_view (BstRackEditor *editor,
45  SfiProxy rack_view);
46 void bst_rack_editor_add_property (BstRackEditor *editor,
47  SfiProxy item,
48  const gchar *property_name);
49 
50 
51 #ifdef __cplusplus
52 }
53 #endif /* __cplusplus */
54 
55 #endif /* __BST_RACK_EDITOR_H__ */
Definition: bstrackeditor.hh:24
Definition: bstrackeditor.hh:35