src/sound/cocoa_s.h
author rubidium
Fri, 31 Aug 2007 23:02:16 +0000
changeset 8009 9e1e8ff6ac95
parent 7689 011afceb33b5
child 10429 1b99254f9607
permissions -rw-r--r--
(svn r11028) -Fix [FS#1177]: crash when having the Finance window opened of the player you are cheating to.
/* $Id$ */

#ifndef SOUND_COCOA_H
#define SOUND_COCOA_H

#include "sound_driver.hpp"

class SoundDriver_Cocoa: public SoundDriver {
public:
	/* virtual */ const char *Start(const char * const *param);

	/* virtual */ void Stop();
};

class FSoundDriver_Cocoa: public SoundDriverFactory<FSoundDriver_Cocoa> {
public:
	static const int priority = 10;
	/* virtual */ const char *GetName() { return "cocoa"; }
	/* virtual */ const char *GetDescription() { return "Cocoa Sound Driver"; }
	/* virtual */ Driver *CreateInstance() { return new SoundDriver_Cocoa(); }
};

#endif /* SOUND_COCOA_H */