BEAST - Free Software Audio Synthesizer and Tracker  0.9.2
bstskinconfig.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 __BST_SKIN_CONFIG_H__
3 #define __BST_SKIN_CONFIG_H__
4 
5 #include "bstutils.hh"
6 
7 G_BEGIN_DECLS
8 
9 /* --- access skin config --- */
10 #define BST_SKIN_CONFIG(field) (* bst_skin_config_get_global ()) . field
11 #define BST_SKIN_CONFIG_STRDUP_PATH(field) sfi_path_get_filename (BST_SKIN_CONFIG (field).c_str(), bst_skin_config_dirname())
12 
13 /* --- prototypes --- */
14 void _bst_skin_config_init (void);
15 void bst_skin_config_apply (SfiRec *rec,
16  const gchar *skin_file);
17 GParamSpec* bst_skin_config_pspec (void);
18 Bst::SkinConfig* bst_skin_config_get_global (void);
19 typedef void (*BstSkinConfigNotify) (gpointer data);
20 void bst_skin_config_notify (void);
21 void bst_skin_config_add_notify (BstSkinConfigNotify func,
22  gpointer data);
23 
24 
25 /* --- skin file --- */
26 void bst_skin_config_set_rcfile (const gchar *file_name);
27 const gchar* bst_skin_config_rcfile (void);
28 const gchar* bst_skin_config_dirname (void);
29 Bse::ErrorType bst_skin_dump (const gchar *file_name);
30 Bse::ErrorType bst_skin_parse (const gchar *file_name);
31 
32 
33 G_END_DECLS
34 
35 #endif /* __BST_SKIN_CONFIG_H__ */
Definition: bstapi.idl:131