#ifndef foosinkwindowhhfoo #define foosinkwindowhhfoo #include #include class SinkWindow; #include "ServerInfoManager.hh" class SinkWindow : public Gtk::Window { public: SinkWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade); static SinkWindow* create(); Gtk::Label *nameLabel, *descriptionLabel, *indexLabel, *sampleTypeLabel, *latencyLabel, *ownerModuleLabel, *monitorSourceLabel, *volumeLabel; Gtk::Button *closeButton, *toMonitorSourceButton, *toOwnerModuleButton, *volumeResetButton, *volumeMuteButton; Gtk::HScale *volumeScale; uint32_t index, owner_module, monitor_source; void updateInfo(const SinkInfo &i); virtual void onCloseButton(); virtual void onToMonitorSourceButton(); virtual void onToOwnerModuleButton(); virtual void onVolumeScaleValueChanged(); virtual void onVolumeResetButton(); virtual void onVolumeMuteButton(); }; #endif