BEAST/BSE - Better Audio System and Sound Engine
0.8.2
|
00001 // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html 00002 #ifndef __BST_SERVER_MONITOR_H__ 00003 #define __BST_SERVER_MONITOR_H__ 00004 00005 #include "bstparamview.hh" 00006 00007 00008 #ifdef __cplusplus 00009 extern "C" { 00010 #endif /* __cplusplus */ 00011 00012 00013 /* --- Gtk+ type macros --- */ 00014 #define BST_TYPE_SERVER_MONITOR (bst_server_monitor_get_type ()) 00015 #define BST_SERVER_MONITOR(object) (GTK_CHECK_CAST ((object), BST_TYPE_SERVER_MONITOR, BstServerMonitor)) 00016 #define BST_SERVER_MONITOR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), BST_TYPE_SERVER_MONITOR, BstServerMonitorClass)) 00017 #define BST_IS_SERVER_MONITOR(object) (GTK_CHECK_TYPE ((object), BST_TYPE_SERVER_MONITOR)) 00018 #define BST_IS_SERVER_MONITOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), BST_TYPE_SERVER_MONITOR)) 00019 #define BST_SERVER_MONITOR_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), BST_TYPE_SERVER_MONITOR, BstServerMonitorClass)) 00020 00021 00022 /* --- structures & typedefs --- */ 00023 typedef struct _BstServerMonitor BstServerMonitor; 00024 typedef struct _BstServerMonitorClass BstServerMonitorClass; 00025 struct _BstServerMonitor 00026 { 00027 GtkVBox parent_object; 00028 00029 SfiProxy server; 00030 00031 GtkWidget *param_view; 00032 }; 00033 struct _BstServerMonitorClass 00034 { 00035 GtkVBoxClass parent_class; 00036 }; 00037 00038 00039 /* --- prototypes --- */ 00040 GtkType bst_server_monitor_get_type (void); 00041 void bst_server_monitor_update (BstServerMonitor *smon); 00042 void bst_server_monitor_rebuild (BstServerMonitor *smon); 00043 00044 00045 #ifdef __cplusplus 00046 } 00047 #endif /* __cplusplus */ 00048 00049 #endif /* __BST_SERVER_MONITOR_H__ */