| VRS - The Virtual Rendering System |
| version 3.3 |
00001 /****************************************************************************** 00002 * VRS - The Virtual Rendering System 00003 * Copyright (C) 2003 Computer Graphics Systems Group at the 00004 * Hasso-Plattner-Institute (HPI), Potsdam, Germany. 00005 * 00006 * This library is free software; you can redistribute it and/or modify it 00007 * under the terms of the GNU Lesser General Public License as published by 00008 * the Free Software Foundation; either version 2.1 of the License, or (at 00009 * your option) any later version. This library is distributed in the hope 00010 * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 00011 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU Lesser General Public License for more details. You should have received 00013 * a copy of the GNU Lesser+ General Public License along with this library; if 00014 * not, write to the FreeSoftware Foundation, Inc., 59 Temple Place, Suite 330, 00015 * Boston, MA, 02111-1307, USA. 00016 ******************************************************************************/ 00017 00018 #ifndef VRS_OPENAL_CONFIG_H 00019 #define VRS_OPENAL_CONFIG_H 00020 00021 #include <vrs/config.h> 00022 00023 // 00024 // ALUT 00025 // 00026 #include <AL/alut.h> 00027 00031 00032 #ifndef WIN32 00033 00034 # define VRS_OPENAL_API 00035 00036 #else // WIN32 00037 00038 // dll import/export 00039 #ifdef VRS_OPENAL_EXPORTS 00040 # define VRS_OPENAL_API __declspec(dllexport) 00041 #else // VRS_OPENAL_EXPORTS 00042 # define VRS_OPENAL_API __declspec(dllimport) 00043 #endif // VRS_OPENAL_EXPORTS 00044 00048 00049 // automatic linkage with release- or debug-lib 00050 #ifndef VRS_OPENAL_EXPORTS 00051 # ifdef NDEBUG 00052 # pragma comment(lib, "vrs_openal.lib") /* link with openal lib */ 00053 # else // NDEBUG 00054 # pragma comment(lib, "vrs_openal_debug.lib") /* link with openal lib in debug mode */ 00055 # endif //NDEBUG 00056 #endif // VRS_OPENAL_EXPORTS 00057 00058 #endif // VRS_OPENAL_CONFIG_H 00059 00060 #endif // WIN32 00061 00062 namespace VRS 00063 { 00064 namespace SOUND 00065 { 00066 char alutInit(int *argcp, char **argv); 00067 char alutInitWithoutContext (int *argcp, char **argv); 00068 char alutExit(); 00069 } 00070 }