BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
bsecategories.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 __BSE_CATEGORIES_H__
00003 #define __BSE_CATEGORIES_H__
00004 
00005 #include        <bse/bsetype.hh>
00006 
00007 G_BEGIN_DECLS
00008 
00009 
00010 /* --- typedefs --- */
00011 typedef gboolean (BseCategoryCheck) (BseCategory *category,
00012                                      gpointer     data);
00013 
00014 
00015 /* --- prototypes --- */
00016 void            bse_categories_register        (const gchar      *category,
00017                                                 const gchar      *i18n_category,
00018                                                 GType             type,
00019                                                 const guint8     *pixstream);
00020 BseCategorySeq* bse_categories_match           (const gchar      *pattern,
00021                                                 GType             base_type,
00022                                                 BseCategoryCheck  check,
00023                                                 gpointer          data);
00024 BseCategorySeq* bse_categories_match_typed     (const gchar      *pattern,
00025                                                 GType             base_type);
00026 BseCategorySeq* bse_categories_from_type       (GType             type);
00027 BseCategory*    bse_category_from_id           (guint             id);
00028 void      bse_categories_register_stock_module (const gchar      *untranslated_category_trunk,
00029                                                 GType             type,
00030                                                 const guint8     *pixstream);
00031 
00032 
00033 /* --- implementation --- */
00034 void            _bse_init_categories         (void);
00035 
00036 G_END_DECLS
00037 
00038 #endif /* __BSE_CATEGORIES_H__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines