cocoa_s.h

00001 /* $Id: cocoa_s.h 10471 2007-07-07 20:31:23Z peter1138 $ */
00002 
00003 #ifndef SOUND_COCOA_H
00004 #define SOUND_COCOA_H
00005 
00006 #include "sound_driver.hpp"
00007 
00008 class SoundDriver_Cocoa: public SoundDriver {
00009 public:
00010   /* virtual */ const char *Start(const char * const *param);
00011 
00012   /* virtual */ void Stop();
00013 };
00014 
00015 class FSoundDriver_Cocoa: public SoundDriverFactory<FSoundDriver_Cocoa> {
00016 public:
00017   static const int priority = 10;
00018   /* virtual */ const char *GetName() { return "cocoa"; }
00019   /* virtual */ const char *GetDescription() { return "Cocoa Sound Driver"; }
00020   /* virtual */ Driver *CreateInstance() { return new SoundDriver_Cocoa(); }
00021 };
00022 
00023 #endif /* SOUND_COCOA_H */

Generated on Wed Oct 1 17:03:23 2008 for openttd by  doxygen 1.5.6