diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2007-12-04 20:09:57 +0000 |
|---|---|---|
| committer | Stephen Sinclair <sinclair@music.mcgill.ca> | 2013-10-11 01:31:24 +0200 |
| commit | f6708f5edc4719fdc5a54cfcb11159d197dd6dcd (patch) | |
| tree | 969690e2556b0d2429bcdf4aa0166961f597b524 /include/asiodrivers.h | |
| parent | 1e492d19f956d99e3315a3600170d6f1d9869cab (diff) | |
Various configure changes for MinGW (gps).
Diffstat (limited to 'include/asiodrivers.h')
| -rw-r--r-- | include/asiodrivers.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/include/asiodrivers.h b/include/asiodrivers.h new file mode 100644 index 0000000..2ddf7ad --- /dev/null +++ b/include/asiodrivers.h @@ -0,0 +1,41 @@ +#ifndef __AsioDrivers__
+#define __AsioDrivers__
+
+#include "ginclude.h"
+
+#if MAC
+#include "CodeFragments.hpp"
+
+class AsioDrivers : public CodeFragments
+
+#elif WINDOWS
+#include <windows.h>
+#include "asiolist.h"
+
+class AsioDrivers : public AsioDriverList
+
+#elif SGI || BEOS
+#include "asiolist.h"
+
+class AsioDrivers : public AsioDriverList
+
+#else
+#error implement me
+#endif
+
+{
+public:
+ AsioDrivers();
+ ~AsioDrivers();
+
+ bool getCurrentDriverName(char *name);
+ long getDriverNames(char **names, long maxDrivers);
+ bool loadDriver(char *name);
+ void removeCurrentDriver();
+ long getCurrentDriverIndex() {return curIndex;}
+protected:
+ unsigned long connID;
+ long curIndex;
+};
+
+#endif
|
