#ifndef I2BASE_H #define I2BASE_H #ifdef _MSC_VER # define HAVE_CXX11 # pragma warning(disable:4251) #else /* _MSC_VER */ # include "config.h" #endif /* _MSC_VER */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef HAVE_GCC_ABI_DEMANGLE # include #endif /* HAVE_GCC_ABI_DEMANGLE */ using namespace std; #ifdef HAVE_CXX11 # include # include using namespace std::placeholders; #else # include # include using namespace std::tr1; using namespace std::tr1::placeholders; # include "cxx11-compat.h" #endif #define PLATFORM_WINDOWS 1 #define PLATFORM_UNIX 2 #ifdef _WIN32 # define I2_PLATFORM PLATFORM_WINDOWS # include "win32.h" #else # define I2_PLATFORM PLATFORM_UNIX # include "unix.h" #endif #ifdef I2_BASE_BUILD # define I2_BASE_API I2_EXPORT #else /* I2_BASE_BUILD */ # define I2_BASE_API I2_IMPORT #endif /* I2_BASE_BUILD */ #include "mutex.h" #include "condvar.h" #include "thread.h" #include "object.h" #include "exception.h" #include "memory.h" #include "delegate.h" #include "event.h" #include "timer.h" #include "fifo.h" #include "socket.h" #include "tcpsocket.h" #include "tcpclient.h" #include "tcpserver.h" #include "configobject.h" #include "configcollection.h" #include "confighive.h" #include "application.h" #include "component.h" #endif /* I2BASE_H */