#ifndef ADM_CRASHDUMP_H
#define ADM_CRASHDUMP_H

#include "ADM_core6_export.h"
#include "ADM_crashdump_mingw.h"
#include "ADM_crashdump_apple.h"
#include "ADM_crashdump_other.h"
#include "ADM_crashdump_unix.h"

#ifdef __cplusplus
extern "C"
{
#endif

	typedef void ADM_saveFunction(void);
	typedef void ADM_fatalFunction(const char *title, const char *info);
        typedef void ADM_sigIntFunction(void);

	ADM_CORE6_EXPORT void ADM_backTrack(const char *info, int lineno, const char *file);
	ADM_CORE6_EXPORT void ADM_setCrashHook(ADM_saveFunction *save, ADM_fatalFunction *fatal,ADM_sigIntFunction *sigint);

#ifdef __cplusplus
}
#endif

#endif
