BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
bstbuseditor.hh
Go to the documentation of this file.
00001  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
00002 #ifndef __BST_BUS_EDITOR_H__
00003 #define __BST_BUS_EDITOR_H__
00004 
00005 #include "bstitemview.hh"
00006 #include "bstdbmeter.hh"
00007 
00008 G_BEGIN_DECLS
00009 
00010 /* --- type macros --- */
00011 #define BST_TYPE_BUS_EDITOR              (bst_bus_editor_get_type ())
00012 #define BST_BUS_EDITOR(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_BUS_EDITOR, BstBusEditor))
00013 #define BST_BUS_EDITOR_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_BUS_EDITOR, BstBusEditorClass))
00014 #define BST_IS_BUS_EDITOR(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_BUS_EDITOR))
00015 #define BST_IS_BUS_EDITOR_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_BUS_EDITOR))
00016 #define BST_BUS_EDITOR_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BST_TYPE_BUS_EDITOR, BstBusEditorClass))
00017 
00018 
00019 /* --- structures & typedefs --- */
00020 typedef struct  _BstBusEditor      BstBusEditor;
00021 typedef struct  _BstBusEditorClass BstBusEditorClass;
00022 struct _BstBusEditor
00023 {
00024   GtkAlignment      parent_object;
00025   SfiProxy          item;
00026   SfiRing          *params;
00027   BstDBBeam        *lbeam, *rbeam;
00028 };
00029 struct _BstBusEditorClass
00030 {
00031   GtkAlignmentClass parent_class;
00032 };
00033 
00034 
00035 /* --- prototypes --- */
00036 GType           bst_bus_editor_get_type  (void);
00037 GtkWidget*      bst_bus_editor_new       (SfiProxy      song);
00038 void            bst_bus_editor_set_bus   (BstBusEditor *self,
00039                                           SfiProxy      item);
00040 
00041 G_END_DECLS
00042 
00043 #endif /* __BST_BUS_EDITOR_H__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines