2023-09-20 22:26:39 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// only include VTUtils to get essential macro
|
|
|
|
#include <VTUtils.hpp>
|
|
|
|
|
|
|
|
#if defined(LIBCMO_BUILD_RELEASE) && defined(LIBCMO_OS_WIN32)
|
|
|
|
#define IRONPAD_ENABLED 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Debug IronPad used. Force enable IronPad.
|
2023-10-29 12:36:03 +08:00
|
|
|
#define IRONPAD_ENABLED 1
|
2023-09-20 22:26:39 +08:00
|
|
|
|
|
|
|
namespace IronPad {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Register IronPad.
|
|
|
|
* @detail This function frequently called at the start of program.
|
|
|
|
*/
|
|
|
|
void IronPadRegister();
|
|
|
|
/**
|
|
|
|
* @brief Unregiister IronPad
|
|
|
|
* @detail This function frequently called at the end of program.
|
|
|
|
*/
|
|
|
|
void IronPadUnregister();
|
|
|
|
|
|
|
|
}
|