00001 #ifndef PRESENTER_H
00002 #define PRESENTER_H
00003
00004 #include <dirent.h>
00005 #include <errno.h>
00006 #include <iostream>
00007 #include <vector>
00008 #include <string>
00009 #include <cstring>
00010 #include "AudioControl.h"
00011 #include "MainWindow.h"
00012
00013 using namespace std;
00014
00016
00021 class Presenter {
00022 public:
00024
00027 Presenter();
00029
00032 int actionAdjustDial(int, std::string);
00034
00037 void actionStartPatch(std::string*);
00039
00041 void actionStopPatch();
00043
00046 void actionSelectPatch(std::string*);
00048
00050 void setupJack();
00052
00054 void initLibPD();
00056
00058 void setupLibPD();
00060
00062 std::string getCurrentPatch();
00064
00066 int getPatchList(vector<string>&);
00067 };
00068
00069 #endif // PRESENTER_H