BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
bstparamview.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_PARAM_VIEW_H__
00003 #define __BST_PARAM_VIEW_H__
00004 
00005 #include        "bstutils.hh"
00006 
00007 G_BEGIN_DECLS
00008 
00009 /* --- type macros --- */
00010 #define BST_TYPE_PARAM_VIEW              (bst_param_view_get_type ())
00011 #define BST_PARAM_VIEW(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_PARAM_VIEW, BstParamView))
00012 #define BST_PARAM_VIEW_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_PARAM_VIEW, BstParamViewClass))
00013 #define BST_IS_PARAM_VIEW(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_PARAM_VIEW))
00014 #define BST_IS_PARAM_VIEW_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_PARAM_VIEW))
00015 #define BST_PARAM_VIEW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BST_TYPE_PARAM_VIEW, BstParamViewClass))
00016 
00017 
00018 /* --- structures & typedefs --- */
00019 typedef struct  _BstParamView           BstParamView;
00020 typedef struct  _BstParamViewClass      BstParamViewClass;
00021 struct _BstParamView
00022 {
00023   GtkVBox        parent_object;
00024 
00025   SfiProxy       item;
00026 
00027   GSList        *params;        /* GxkParam* */
00028 
00029   gchar         *first_base_type;
00030   gchar         *last_base_type;
00031   GPatternSpec  *reject_pattern;
00032   GPatternSpec  *match_pattern;
00033 };
00034 struct _BstParamViewClass
00035 {
00036   GtkVBoxClass parent_class;
00037 };
00038 
00039 
00040 /* --- prototypes --- */
00041 GType           bst_param_view_get_type         (void);
00042 GtkWidget*      bst_param_view_new              (SfiProxy        item);
00043 void            bst_param_view_rebuild          (BstParamView   *param_view);
00044 void            bst_param_view_apply_defaults   (BstParamView   *param_view);
00045 void            bst_param_view_set_item         (BstParamView   *param_view,
00046                                                  SfiProxy        item);
00047 void            bst_param_view_set_mask         (BstParamView   *param_view,
00048                                                  const gchar    *first_base_type,
00049                                                  const gchar    *last_base_type,
00050                                                  const gchar    *reject_pattern,
00051                                                  const gchar    *match_pattern);
00052 
00053 
00054 
00055 G_END_DECLS
00056 
00057 #endif /* __BST_PARAM_VIEW_H__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines