BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
bstbseutils.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_BSE_UTILS_H__
00003 #define __BST_BSE_UTILS_H__
00004 #include <sfi/sfi.hh> /* needed by bstoldbseapi.h */
00005 G_BEGIN_DECLS
00006 #include "bstoldbseapi.h" /* include this within extern "C" */
00007 /* --- BSE utilities --- */
00008 #define BSE_SERVER                              (1 /* HACK */ )
00009 #define bse_proxy_set_property                  sfi_glue_proxy_set_property
00010 #define bse_proxy_get_property                  sfi_glue_proxy_get_property
00011 #define bse_proxy_set                           sfi_glue_proxy_set
00012 #define bse_proxy_get                           sfi_glue_proxy_get
00013 #define bse_proxy_get_pspec                     sfi_glue_proxy_get_pspec
00014 #define bse_proxy_list_properties               sfi_glue_proxy_list_properties
00015 #define bse_proxy_disconnect                    sfi_glue_proxy_disconnect
00016 #define bse_proxy_connect                       sfi_glue_proxy_connect
00017 #define bse_proxy_pending                       sfi_glue_proxy_pending
00018 #define bse_proxy_is_a                          sfi_glue_proxy_is_a
00019 #define bse_proxy_get_qdata                     sfi_glue_proxy_get_qdata
00020 #define bse_proxy_set_qdata_full                sfi_glue_proxy_set_qdata_full
00021 #define bse_proxy_steal_qdata                   sfi_glue_proxy_steal_qdata
00022 #define bse_proxy_set_qdata(p,q,d)              bse_proxy_set_qdata_full ((p), (q), (d), NULL)
00023 #define bse_proxy_set_data(p,n,d)               bse_proxy_set_qdata ((p), g_quark_from_string (n), (d))
00024 #define bse_proxy_get_data(p,n)                 bse_proxy_get_qdata ((p), g_quark_try_string (n))
00025 #define bse_proxy_steal_data(p,n)               bse_proxy_steal_qdata ((p), g_quark_try_string (n))
00026 #define bse_proxy_set_data_full(p,n,d,f)        bse_proxy_set_qdata_full ((p), g_quark_from_string (n), (d), (f))
00027 
00028 /* --- BEAST utilities --- */
00029 BseErrorType    bst_project_restore_from_file   (SfiProxy        project,
00030                                                  const gchar    *file_name,
00031                                                  bool            apply_project_file_name,
00032                                                  bool            preserve_non_dirty);
00033 BseErrorType    bst_project_import_midi_file    (SfiProxy        project,
00034                                                  const gchar    *file_name);
00035 const gchar*    bst_procedure_get_title         (const gchar    *procedure);
00036 
00037 G_END_DECLS
00038 
00039 #endif /* __BST_BSE_UTILS_H__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines