2010-05-21 03:13:36 +02:00
|
|
|
#define LAGI_PRE
|
|
|
|
|
2010-06-18 08:59:55 +02:00
|
|
|
#include "config.h"
|
|
|
|
|
2010-05-21 03:19:40 +02:00
|
|
|
// Common C
|
2010-05-21 03:13:36 +02:00
|
|
|
#include <errno.h>
|
|
|
|
#include <math.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdint.h>
|
2010-06-03 22:32:25 +02:00
|
|
|
#include <string.h>
|
2010-05-21 03:13:36 +02:00
|
|
|
#include <sys/stat.h>
|
2010-06-16 09:49:35 +02:00
|
|
|
#ifdef HAVE_SYS_TIME_H
|
|
|
|
# include <sys/time.h>
|
|
|
|
#else
|
|
|
|
# include <time.h>
|
|
|
|
#endif
|
2010-05-21 03:13:36 +02:00
|
|
|
|
2010-05-21 03:19:40 +02:00
|
|
|
// Windows C
|
2010-05-21 05:07:48 +02:00
|
|
|
#ifdef _WIN32
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
#include <windows.h>
|
2010-05-21 03:19:40 +02:00
|
|
|
#include <io.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Common C++
|
2010-05-31 22:55:29 +02:00
|
|
|
#include <deque>
|
2010-05-21 03:13:36 +02:00
|
|
|
#include <fstream>
|
|
|
|
#include <iostream>
|
2010-07-07 07:24:16 +02:00
|
|
|
#include <iterator>
|
|
|
|
#include <numeric>
|
2010-05-21 03:13:36 +02:00
|
|
|
#include <map>
|
2010-08-26 20:38:37 +02:00
|
|
|
#include <sstream>
|
|
|
|
#include <string>
|
|
|
|
|
2010-07-07 04:41:46 +02:00
|
|
|
#ifdef _WIN32
|
2010-08-26 20:38:37 +02:00
|
|
|
#include <functional>
|
2010-05-23 08:58:11 +02:00
|
|
|
#include <memory>
|
2010-07-07 04:41:46 +02:00
|
|
|
#else
|
2010-08-26 20:38:37 +02:00
|
|
|
#include <tr1/functional>
|
2010-07-07 04:41:46 +02:00
|
|
|
#include <tr1/memory>
|
|
|
|
#endif
|
2010-05-21 03:13:36 +02:00
|
|
|
|
2010-05-31 22:55:29 +02:00
|
|
|
#ifdef __DEPRECATED // Dodge GCC warnings
|
|
|
|
# undef __DEPRECATED
|
|
|
|
# include <strstream>
|
|
|
|
# define __DEPRECATED
|
|
|
|
#else
|
|
|
|
# include <strstream>
|
|
|
|
#endif
|
|
|
|
|
2010-05-21 03:19:40 +02:00
|
|
|
// Cajun
|
2010-05-21 03:13:36 +02:00
|
|
|
#include "libaegisub/cajun/elements.h"
|
|
|
|
#include "libaegisub/cajun/reader.h"
|
|
|
|
#include "libaegisub/cajun/visitor.h"
|
|
|
|
#include "libaegisub/cajun/writer.h"
|
|
|
|
|
2010-05-28 09:40:21 +02:00
|
|
|
// Universalchardet
|
2010-06-12 09:04:46 +02:00
|
|
|
#ifndef _WIN32
|
|
|
|
#define _X86_ 1
|
|
|
|
#endif
|
2010-05-28 09:40:21 +02:00
|
|
|
#include "../universalchardet/nscore.h"
|
|
|
|
#include "../universalchardet/nsUniversalDetector.h"
|
|
|
|
#include "../universalchardet/nsMBCSGroupProber.h"
|
|
|
|
#include "../universalchardet/nsCharSetProber.h"
|
|
|
|
|