2012-04-02 08:56:30 +02:00
|
|
|
#ifndef I2BASE_H
|
|
|
|
#define I2BASE_H
|
2012-03-28 13:24:49 +02:00
|
|
|
|
2012-04-01 09:48:52 +02:00
|
|
|
#include <cstdlib>
|
|
|
|
#include <cstdarg>
|
|
|
|
#include <cstdio>
|
|
|
|
#include <cstring>
|
|
|
|
#include <cassert>
|
|
|
|
#include <cerrno>
|
2012-03-28 13:24:49 +02:00
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
#include <iostream>
|
|
|
|
#include <list>
|
|
|
|
#include <typeinfo>
|
2012-04-02 09:03:29 +02:00
|
|
|
#include <map>
|
2012-03-28 13:24:49 +02:00
|
|
|
#include <list>
|
2012-04-02 09:03:29 +02:00
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
2012-03-28 13:24:49 +02:00
|
|
|
#ifdef _MSC_VER
|
|
|
|
# include <memory>
|
|
|
|
# include <functional>
|
2012-04-02 09:03:29 +02:00
|
|
|
|
|
|
|
using namespace std::placeholders;
|
2012-03-28 13:24:49 +02:00
|
|
|
#else
|
|
|
|
# include <tr1/memory>
|
|
|
|
# include <tr1/functional>
|
2012-04-02 09:03:29 +02:00
|
|
|
|
|
|
|
using namespace std::tr1;
|
|
|
|
using namespace std::tr1::placeholders;
|
2012-03-28 13:24:49 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#define PLATFORM_WINDOWS 1
|
|
|
|
#define PLATFORM_UNIX 2
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
2012-04-02 10:26:38 +02:00
|
|
|
# define I2_PLATFORM PLATFORM_WINDOWS
|
2012-03-28 13:24:49 +02:00
|
|
|
# include "win32.h"
|
|
|
|
#else
|
2012-04-02 10:26:38 +02:00
|
|
|
# define I2_PLATFORM PLATFORM_UNIX
|
2012-03-28 13:24:49 +02:00
|
|
|
# include "unix.h"
|
|
|
|
#endif
|
|
|
|
|
2012-03-31 09:09:40 +02:00
|
|
|
#include "mutex.h"
|
|
|
|
#include "condvar.h"
|
2012-03-31 09:36:00 +02:00
|
|
|
#include "thread.h"
|
2012-03-28 13:24:49 +02:00
|
|
|
#include "object.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"
|
2012-03-31 15:18:09 +02:00
|
|
|
#include "configobject.h"
|
|
|
|
#include "confighive.h"
|
2012-03-28 13:24:49 +02:00
|
|
|
#include "application.h"
|
2012-03-31 15:18:09 +02:00
|
|
|
#include "component.h"
|
2012-03-28 13:24:49 +02:00
|
|
|
|
2012-04-02 08:56:30 +02:00
|
|
|
#endif /* I2BASE_H */
|