25#ifndef SRC_HEADERS_GX_CHILD_PROCESS_H_
26#define SRC_HEADERS_GX_CHILD_PROCESS_H_
28#include <sigc++/sigc++.h>
46 GxChild(
string name,
int killsignal,
int pid):
74class JackCaptureGui:
public sigc::trackable {
76 GtkCheckMenuItem *item;
77 void terminated(
bool pgm_found);
78 JackCaptureGui(
GxChild *p, GtkCheckMenuItem *i);
80 static void start_stop(GtkCheckMenuItem *menuitem, gpointer);
83class JackCapture:
public sigc::trackable {
85 GtkToggleButton *button;
86 void terminated(
bool pgm_found);
87 static string make_fname(
string buf,
size_t j,
size_t i,
int n);
88 static list<string> capture_command(
int& seq);
89 JackCapture(GxChild *p, GtkToggleButton *b);
91 static void start_stop(GtkWidget *widget, gpointer data);
sigc::signal< void, bool > terminated
bool hasName(string name)
GxChild(string name, int killsignal, int pid)
GxChild * launch(string name, const char *const args[], int killsignal)
GxChild * launch(string name, list< string > args, int killsignal)
GxChild * find(string name)
list< GxChild * > children
friend void gx_sigchld_handler()
static void start_stop(Glib::RefPtr< ToggleAction > &action, gx_jack::GxJack &jack)
Meterbridge(GxChild *p, Glib::RefPtr< ToggleAction > &a)
Glib::RefPtr< ToggleAction > action
void terminated(bool pgm_found)
void gx_sigchld_handler()