CrystalSpace

Public API Reference

csutil/macosx/csosdefs.h

00001 #ifndef __OSX_csosdefs_h
00002 #define __OSX_csosdefs_h
00003 //=============================================================================
00004 //
00005 //      Copyright (C)1999-2005 by Eric Sunshine <sunshine@sunshineco.com>
00006 //
00007 // The contents of this file are copyrighted by Eric Sunshine.  This work is
00008 // distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
00009 // without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
00010 // PARTICULAR PURPOSE.  You may distribute this file provided that this
00011 // copyright notice is retained.  Send comments to <sunshine@sunshineco.com>.
00012 //
00013 //=============================================================================
00014 //-----------------------------------------------------------------------------
00015 // csosdefs.h
00016 //
00017 //      MacOS/X-specific interface to common functionality.
00018 //
00019 //-----------------------------------------------------------------------------
00020 
00021 #include <unistd.h>
00022 #include <string.h>
00023 #include <sys/types.h>
00024 #include <sys/param.h>
00025 #include <sys/select.h>
00026 #include <sys/stat.h>
00027 #include <dirent.h>
00028 
00029 #define CS_HAVE_POSIX_MMAP
00030 #define CS_USE_CUSTOM_ISDIR
00031 #define CS_PATH_DELIMITER ':'
00032 #define CS_PATH_SEPARATOR '/'
00033 
00034 #define CS_MKDIR(p) mkdir(p,0755)
00035 
00036 #undef  CS_SOFTWARE_2D_DRIVER
00037 #define CS_SOFTWARE_2D_DRIVER "crystalspace.graphics2d.coregraphics"
00038 
00039 #undef  CS_OPENGL_2D_DRIVER
00040 #define CS_OPENGL_2D_DRIVER "crystalspace.graphics2d.glosx"
00041 
00042 #undef  CS_SOUND_DRIVER
00043 #define CS_SOUND_DRIVER "crystalspace.sound.driver.coreaudio"
00044 
00045 #undef  CS_SNDSYS_DRIVER
00046 #define CS_SNDSYS_DRIVER "crystalspace.sndsys.software.driver.coreaudio"
00047 
00048 #endif // __OSX_csosdefs_h

Generated for Crystal Space 1.2.1 by doxygen 1.5.3