BEAST - Free Software Audio Synthesizer and Tracker  0.10.0
bsecategories.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __BSE_CATEGORIES_H__
3 #define __BSE_CATEGORIES_H__
4 
5 #include <bse/bsetype.hh>
6 
7 G_BEGIN_DECLS
8 
9 
10 /* --- typedefs --- */
11 typedef gboolean (BseCategoryCheck) (BseCategory *category,
12  gpointer data);
13 
14 
15 /* --- prototypes --- */
16 void bse_categories_register (const gchar *category,
17  const gchar *i18n_category,
18  GType type,
19  const guint8 *pixstream);
20 BseCategorySeq* bse_categories_match (const gchar *pattern,
21  GType base_type,
22  BseCategoryCheck check,
23  gpointer data);
24 BseCategorySeq* bse_categories_match_typed (const gchar *pattern,
25  GType base_type);
26 BseCategorySeq* bse_categories_from_type (GType type);
27 void bse_categories_register_stock_module (const gchar *untranslated_category_trunk,
28  GType type,
29  const guint8 *pixstream);
30 
31 
32 /* --- implementation --- */
33 void _bse_init_categories (void);
34 
35 G_END_DECLS
36 
37 #endif /* __BSE_CATEGORIES_H__ */