BEAST/BSE - Better Audio System and Sound Engine
0.8.2
|
00001 // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html 00002 #ifndef __BST_RACK_EDITOR_H__ 00003 #define __BST_RACK_EDITOR_H__ 00004 00005 #include "bstracktable.hh" 00006 00007 #ifdef __cplusplus 00008 extern "C" { 00009 #endif /* __cplusplus */ 00010 00011 00012 /* --- type macros --- */ 00013 #define BST_TYPE_RACK_EDITOR (bst_rack_editor_get_type ()) 00014 #define BST_RACK_EDITOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_RACK_EDITOR, BstRackEditor)) 00015 #define BST_RACK_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_RACK_EDITOR, BstRackEditorClass)) 00016 #define BST_IS_RACK_EDITOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_RACK_EDITOR)) 00017 #define BST_IS_RACK_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_RACK_EDITOR)) 00018 #define BST_RACK_EDITOR_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BST_TYPE_RACK_EDITOR, BstRackEditorClass)) 00019 00020 00021 /* --- structures & typedefs --- */ 00022 typedef struct _BstRackEditor BstRackEditor; 00023 typedef struct _BstRackEditorClass BstRackEditorClass; 00024 struct _BstRackEditor 00025 { 00026 GtkVBox parent_instance; 00027 00028 SfiProxy pocket; 00029 00030 BstRackTable *rtable; 00031 GSList *plate_list; 00032 GtkWidget *button_edit; 00033 GSList *item_list; 00034 }; 00035 struct _BstRackEditorClass 00036 { 00037 GtkVBoxClass parent_class; 00038 }; 00039 00040 00041 /* --- prototypes --- */ 00042 GtkType bst_rack_editor_get_type (void); 00043 GtkWidget* bst_rack_editor_new (SfiProxy rack_view); 00044 void bst_rack_editor_set_rack_view (BstRackEditor *editor, 00045 SfiProxy rack_view); 00046 void bst_rack_editor_add_property (BstRackEditor *editor, 00047 SfiProxy item, 00048 const gchar *property_name); 00049 00050 00051 #ifdef __cplusplus 00052 } 00053 #endif /* __cplusplus */ 00054 00055 #endif /* __BST_RACK_EDITOR_H__ */