Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

global.h

Go to the documentation of this file.
00001 /*************************************************************************** 00002 * This file is part of OpenCAL: Open Computer Animation Library * 00003 * I created OpenCAL as my master's thesis Computer Science (multimedia) * 00004 * at the tUL university in Diepenbeek, Belgium * 00005 * * 00006 * Copyright (C) 2003-2004 by Jeroen Dierckx * 00007 * jeroen.dierckx@student.luc.ac.be * 00008 * * 00009 ***************************************************************************/ 00010 00011 #ifndef OPENCAL_GLOBAL_H 00012 #define OPENCAL_GLOBAL_H 00013 00022 /************************ 00023 * General documentation * 00024 ************************/ 00025 00060 // Includes 00061 00062 #ifdef HAVE_CONFIG_H 00063 #include <config.h> 00064 #endif 00065 00066 #ifdef WIN32 // Only in windows 00067 // Identifier was truncated to '255' characters in the debug information 00068 #pragma warning (disable: 4786) 00069 00070 // STL classes are not exported in the dll 00075 #pragma warning (disable: 4251) 00076 00077 #include <windows.h> 00078 00079 // Windows dll defines 00080 #ifdef OPENCAL_EXPORTS 00081 #define OPENCAL_API __declspec(dllexport) 00082 #else 00083 #define OPENCAL_API __declspec(dllimport) 00084 #endif 00085 #else // Linux 00086 #define stricmp strcasecmp 00087 // In linux, the OPENCAL_API define should be empty 00088 #define OPENCAL_API 00089 #endif // WIN32 00090 00091 #include <string> 00092 using std::string; 00093 00094 #include <iostream> 00095 using std::cout; 00096 using std::cin; 00097 using std::cerr; 00098 using std::endl; 00099 00100 00101 // Include some usefull math constants and functions 00102 #include <OpenCAL/Math.h> 00103 00104 #ifdef VERBOSE 00105 #include <OpenCAL/Debug.h> 00106 #endif // VERBOSE 00107 00108 // Defines 00109 #ifndef NULL 00110 #define NULL 0 00111 #endif // NULL 00112 00113 00114 #endif // OPENCAL_GLOBAL_H

Generated on Sun Aug 15 19:19:22 2004 for OpenCAL: Open Computer Animation Library by doxygen 1.3.8