00001 /***************************************************************************** 00002 * Copyright (C) 2011 by Benjamin Hadorn (b_hadorn@bluewin.ch) 00003 ***************************************************************************** 00004 * Project : Zeus Base Library 00005 * Module : LinuxPlatform 00006 * Package : Zeus.ZeusBase.Config.Platforms 00007 * Author : Benjamin Hadorn 00008 * Date : 27.12.2011 00009 * System : Zeus-Framework 00010 ***************************************************************************** 00011 * Licence: * 00012 * This library is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU Lesser General Public License as * 00014 * published by the Free Software Foundation; either version * 00015 * 2.1 of the License, or (at your option) any later version. * 00016 * * 00017 * This library is distributed in the hope that it will be useful, * 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00020 * GNU Lesser General Public License for more details. * 00021 * * 00022 * You should have received a copy of the GNU Lesser General Public * 00023 * License along with this library; if not, write to the Free Software * 00024 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA * 00025 *****************************************************************************/ 00026 00027 /***************************************************************************** 00028 * Changes: 00029 * 27.12.2011 bha: created zeus 2.0 00030 *****************************************************************************/ 00031 00032 00033 #ifndef __LinuxPlatformHPP_128345873243 00034 #define __LinuxPlatformHPP_128345873243 00035 00036 #include "config.h" 00037 #define ZEUS_PLATFORM "linux" 00038 00039 00040 //enables all linux bindings 00041 #define ENABLE_LINUX_BINDING 00042 00043 //enables the posix threads 00044 #define ENABLE_PTHREAD_BINDING 00045 00046 //enables the bluetooth. 00047 //This must be enabled if bluez libraries are installed 00048 #ifdef HAVE_LIBBLUETOOTH 00049 #define ENABLE_BLUEZ_BLUETOOTH 00050 #endif 00051 00052 00053 //TODO: Detect 64 bit systems 00054 #define __ZEUS32__ 00055 //#define __ZEUS64__ 00056 00057 00058 //module export defines 00059 #define MQUALIFIER 00060 #define FASTCALL_METHOD 00061 #define MODULE_EXPORT 00062 #define MODULE_IMPORT 00063 #define MODULE_EXPORT_PRE extern "C" 00064 00065 #define FLOAT_PRECISION 0.0000000001 00066 00067 /***********************************************************************/ 00075 /***********************************************************************/ 00076 #define ENABLE_DOUBLE_PRECISION 00077 00079 //#define USE_QT_BINDINGS 00080 00081 //------------------------------------------------------ 00082 #ifndef TINY_ZEUS 00083 00084 //enables the UUID 00085 #define ENABLE_UUID 00086 00087 //enables XML 00088 #define ENABLE_XML_BINDING 00089 00090 //enables the RMI for C++ 00091 #define ENABLE_RMI 00092 00093 //enables the security implementation 00094 #define ENABLE_SECURITY_IMPL 00095 00096 //enables logging 00097 #define ENABLE_LOGGING 00098 00099 //endables the IP v6 00100 //#define ENABLE_IPV6_BINDING 00101 00102 #endif //ifndef TINY_ZEUS 00103 //------------------------------------------------------ 00104 00105 00106 #endif 00107