/usr/include/bse/bseserver.hh is in libbse-dev 0.7.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#ifndef __BSE_SERVER_H__
#define __BSE_SERVER_H__
#include <bse/bsesuper.hh>
#include <bse/bsepcmdevice.hh>
#include <bse/bsemididevice.hh>
G_BEGIN_DECLS
/* --- BSE type macros --- */
#define BSE_TYPE_SERVER (BSE_TYPE_ID (BseServer))
#define BSE_SERVER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_SERVER, BseServer))
#define BSE_SERVER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_SERVER, BseServerClass))
#define BSE_IS_SERVER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BSE_TYPE_SERVER))
#define BSE_IS_SERVER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), BSE_TYPE_SERVER))
#define BSE_SERVER_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BSE_TYPE_SERVER, BseServerClass))
/* --- BseServer object --- */
struct _BseServer
{
BseContainer parent_object;
GSource *engine_source;
GList *projects;
GSList *children;
gchar *wave_file;
double wave_seconds;
guint dev_use_count;
guint log_messages : 1;
guint pcm_input_checked : 1;
BsePcmDevice *pcm_device;
BseModule *pcm_imodule;
BseModule *pcm_omodule;
BsePcmWriter *pcm_writer;
BseMidiDevice *midi_device;
GSList *watch_list;
};
struct _BseServerClass
{
BseContainerClass parent_class;
};
/* --- prototypes --- */
BseServer* bse_server_get (void);
BseProject* bse_server_create_project (BseServer *server,
const gchar *name);
BseProject* bse_server_find_project (BseServer *server,
const gchar *name);
void bse_server_stop_recording (BseServer *server);
void bse_server_start_recording (BseServer *server,
const char *wave_file,
double n_seconds);
BseErrorType bse_server_open_devices (BseServer *server);
void bse_server_close_devices (BseServer *server);
BseModule* bse_server_retrieve_pcm_output_module (BseServer *server,
BseSource *source,
const gchar *uplink_name);
void bse_server_discard_pcm_output_module (BseServer *server,
BseModule *module);
BseModule* bse_server_retrieve_pcm_input_module (BseServer *server,
BseSource *source,
const gchar *uplink_name);
void bse_server_discard_pcm_input_module (BseServer *server,
BseModule *module);
void bse_server_require_pcm_input (BseServer *server);
BseModule* bse_server_retrieve_midi_input_module (BseServer *server,
const gchar *downlink_name,
guint midi_channel_id,
guint nth_note,
guint signals[4]);
void bse_server_discard_midi_input_module (BseServer *server,
BseModule *module);
void bse_server_add_io_watch (BseServer *server,
gint fd,
GIOCondition events,
BseIOWatch watch_func,
gpointer data);
void bse_server_remove_io_watch (BseServer *server,
BseIOWatch watch_func,
gpointer data);
/* --- internal --- */
void bse_server_registration (BseServer *server,
BseRegistrationType rtype,
const gchar *what,
const gchar *error);
void bse_server_script_start (BseServer *server,
BseJanitor *janitor);
void bse_server_script_error (BseServer *server,
const gchar *script_name,
const gchar *proc_name,
const gchar *reason);
void bse_server_send_message (BseServer *server,
const BseMessage *umsg);
void bse_server_message (BseServer *server,
const gchar *log_domain,
BseMsgType msg_type,
const gchar *title,
const gchar *primary,
const gchar *secondary,
const gchar *details,
const gchar *config_blurb,
BseJanitor *janitor,
const gchar *process_name,
gint pid);
BseErrorType bse_server_run_remote (BseServer *server,
const gchar *process_name,
SfiRing *params,
const gchar *script_name,
const gchar *proc_name,
BseJanitor **janitor_p);
void bse_server_queue_kill_wire (BseServer *server,
SfiComWire *wire);
void bse_server_notify_gconfig (BseServer *server);
G_END_DECLS
#endif /* __BSE_SERVER_H__ */
|