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_PART_DIALOG_H__ 00003 #define __BST_PART_DIALOG_H__ 00004 00005 #include "bstpianoroll.hh" 00006 #include "bsteventroll.hh" 00007 #include "bstpatternview.hh" 00008 #include "bstpatternctrl.hh" 00009 #include "bstpianorollctrl.hh" 00010 #include "bsteventrollctrl.hh" 00011 00012 G_BEGIN_DECLS 00013 00014 /* --- Gtk+ type macros --- */ 00015 #define BST_TYPE_PART_DIALOG (bst_part_dialog_get_type ()) 00016 #define BST_PART_DIALOG(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_PART_DIALOG, BstPartDialog)) 00017 #define BST_PART_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_PART_DIALOG, BstPartDialogClass)) 00018 #define BST_IS_PART_DIALOG(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_PART_DIALOG)) 00019 #define BST_IS_PART_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_PART_DIALOG)) 00020 #define BST_PART_DIALOG_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BST_TYPE_PART_DIALOG, BstPartDialogClass)) 00021 00022 00023 /* --- structures & typedefs --- */ 00024 typedef struct _BstPartDialog BstPartDialog; 00025 typedef struct _BstPartDialogClass BstPartDialogClass; 00026 struct _BstPartDialog 00027 { 00028 GxkDialog parent_object; 00029 00030 BstPianoRoll *proll; 00031 BstPianoRollController *pctrl; 00032 BstEventRoll *eroll; 00033 BstEventRollController *ectrl; 00034 BstPatternView *pview; 00035 BstPatternController *pvctrl; 00036 SfiProxy project; 00037 }; 00038 struct _BstPartDialogClass 00039 { 00040 GxkDialogClass parent_class; 00041 }; 00042 00043 00044 /* --- prototypes --- */ 00045 GType bst_part_dialog_get_type (void); 00046 void bst_part_dialog_set_proxy (BstPartDialog *self, 00047 SfiProxy part); 00048 00049 G_END_DECLS 00050 00051 #endif /* __BST_PART_DIALOG_H__ */