2019-10-18 22:48:55 +08:00
|
|
|
#ifndef __MAIN_H__
|
|
|
|
#define __MAIN_H__
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
/* To use this exported function of dll, include this header
|
|
|
|
* in your project.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef BUILD_DLL
|
|
|
|
#define DLL_EXPORT __declspec(dllexport)
|
|
|
|
#else
|
|
|
|
#define DLL_EXPORT __declspec(dllimport)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2020-12-23 10:03:54 +08:00
|
|
|
#include "CWSDK/cwsdk.h"
|
2019-10-18 22:48:55 +08:00
|
|
|
#include <fstream>
|
|
|
|
#include "CCSVParse.h"
|
|
|
|
#include "kmp.hpp"
|
|
|
|
#include "MemoryHelper.h"
|
|
|
|
#include "utfconvert.h"
|
2020-12-23 10:03:54 +08:00
|
|
|
#include "logger.h"
|
2019-10-18 22:48:55 +08:00
|
|
|
|
|
|
|
#define NO_DEBUG_LOG
|
|
|
|
|
|
|
|
#ifndef NO_DEBUG_LOG
|
|
|
|
LOGGER::CLogger* logger;
|
|
|
|
#endif // NO_DEBUG_LOG
|
|
|
|
|
|
|
|
#endif // __MAIN_H__
|