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
|
|
|
|
|
2011-02-22 20:03:03 +01:00
|
|
|
// Unix C
|
|
|
|
#ifndef _WIN32
|
2011-02-23 04:29:30 +01:00
|
|
|
#include <sys/statvfs.h>
|
|
|
|
#include <sys/param.h>
|
2011-02-22 20:03:03 +01:00
|
|
|
#endif
|
|
|
|
|
2010-05-21 03:19:40 +02:00
|
|
|
// Common C++
|
2010-05-31 22:55:29 +02:00
|
|
|
#include <deque>
|
2011-02-10 02:33:34 +01:00
|
|
|
#include <climits>
|
2010-05-21 03:13:36 +02:00
|
|
|
#include <fstream>
|
|
|
|
#include <iostream>
|
2010-07-07 07:24:16 +02:00
|
|
|
#include <iterator>
|
2011-02-10 00:56:24 +01:00
|
|
|
#include <locale>
|
2010-07-07 07:24:16 +02:00
|
|
|
#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"
|
|
|
|
|