cocoa_s.h
Go to the documentation of this file.00001
00002
00005 #ifndef SOUND_COCOA_H
00006 #define SOUND_COCOA_H
00007
00008 #include "sound_driver.hpp"
00009
00010 class SoundDriver_Cocoa: public SoundDriver {
00011 public:
00012 const char *Start(const char * const *param);
00013
00014 void Stop();
00015 };
00016
00017 class FSoundDriver_Cocoa: public SoundDriverFactory<FSoundDriver_Cocoa> {
00018 public:
00019 static const int priority = 10;
00020 const char *GetName() { return "cocoa"; }
00021 const char *GetDescription() { return "Cocoa Sound Driver"; }
00022 Driver *CreateInstance() { return new SoundDriver_Cocoa(); }
00023 };
00024
00025 #endif