|
1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #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
|