driver.c
changeset 2736 1ea068235989
parent 2500 e2b13f720a94
child 2831 510c08cd43d2
--- a/driver.c	Sat Dec 10 07:29:31 2005 +0000
+++ b/driver.c	Sat Dec 10 11:16:45 2005 +0000
@@ -18,11 +18,13 @@
 
 #include "sound/null_s.h"
 #include "sound/sdl_s.h"
+#include "sound/cocoa_s.h"
 #include "sound/win32_s.h"
 
 #include "video/dedicated_v.h"
 #include "video/null_v.h"
 #include "video/sdl_v.h"
+#include "video/cocoa_v.h"
 #include "video/win32_v.h"
 
 typedef struct DriverDesc {
@@ -71,6 +73,9 @@
 #ifdef WITH_SDL
 	M("sdl",   "SDL Sound Driver",     &_sdl_sound_driver),
 #endif
+#ifdef WITH_COCOA
+	M("cocoa", "Cocoa Sound Driver",   &_cocoa_sound_driver),
+#endif
 	M("null",  "Null Sound Driver",    &_null_sound_driver),
 	M(NULL, NULL, NULL)
 };
@@ -82,6 +87,9 @@
 #ifdef WITH_SDL
 	M("sdl",        "SDL Video Driver",       &_sdl_video_driver),
 #endif
+#ifdef WITH_COCOA
+	M("cocoa",      "Cocoa Video Driver",       &_cocoa_video_driver),
+#endif
 	M("null",       "Null Video Driver",      &_null_video_driver),
 #ifdef ENABLE_NETWORK
 	M("dedicated",  "Dedicated Video Driver", &_dedicated_video_driver),