BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
bstrackitem.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_RACK_ITEM_H__
00003 #define __BST_RACK_ITEM_H__
00004 
00005 #include "bstracktable.hh"
00006 #include "bstparam.hh"
00007 
00008 G_BEGIN_DECLS
00009 
00010 /* --- type macros --- */
00011 #define BST_TYPE_RACK_ITEM              (bst_rack_item_get_type ())
00012 #define BST_RACK_ITEM(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_RACK_ITEM, BstRackItem))
00013 #define BST_RACK_ITEM_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_RACK_ITEM, BstRackItemClass))
00014 #define BST_IS_RACK_ITEM(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_RACK_ITEM))
00015 #define BST_IS_RACK_ITEM_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_RACK_ITEM))
00016 #define BST_RACK_ITEM_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BST_TYPE_RACK_ITEM, BstRackItemClass))
00017 
00018 /* --- structures & typedefs --- */
00019 typedef struct {
00020   GxkRackItem    parent_instance;
00021   SfiProxy       proxy;
00022   const gchar   *path;
00023   SfiRec        *rec;
00024 
00025   guint          block_updates;
00026   GtkWidget     *controller_choice;
00027   GtkWidget     *choice;
00028 
00029   /* pocket data */
00030   GParamSpec      *pspec;
00031   gchar           *ctype;
00032 
00033   GxkParam      *param;
00034 } BstRackItem;
00035 typedef struct _GxkRackItemClass BstRackItemClass;
00036 
00037 /* --- prototypes --- */
00038 GType           bst_rack_item_get_type          (void);
00039 GtkWidget*      bst_rack_item_new               (SfiProxy        proxy,
00040                                                  const gchar    *path);
00041 void            bst_rack_item_set_parasite      (BstRackItem    *self,
00042                                                  SfiProxy        proxy,
00043                                                  const gchar    *path);
00044 
00045 
00046 G_END_DECLS
00047 
00048 #endif /* __BST_RACK_ITEM_H__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines