00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef JezabelJackPatch_included
00018 #define JezabelJackPatch_included
00019
00020 #include <qvbox.h>
00021 #include <vector>
00022 #include <jack/jack.h>
00023 #include <qstring.h>
00024
00025 class JezabelJackPatch : public QVBox{
00026
00027 Q_OBJECT
00028
00029 public:
00030 JezabelJackPatch(bool output, QWidget *_parent = 0);
00031 void setClient(jack_client_t *jack_client, QString client_name);
00032 void makeItSo();
00033
00034 public slots:
00035 void slotSelect(int item);
00036 void slotApply();
00037 void slotClear();
00038 void slotPatchChanged(QString patch);
00039
00040 signals:
00041 void signalPatchChanged(QString patch);
00042
00043 protected:
00044 bool output;
00045 QString jack_client_name;
00046 jack_client_t *jack_client;
00047 class QListBox *ports_avail, *ports_selected;
00048 vector<QString> fromConns, toConns;
00049 };
00050
00051 #endif