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