feat: add some work
- add dialog parameter class for dialog helper. prepare to write real dialog popup function. - refactor file filters class in dialog helper to make it no const syntax conflict. - improve windows header import prefix and suffix header. remove the barrier limiting headers only can be imported once. fix define preprocessor usage bug. - move crt warning and errors macro from project settings to internal headers. - copy IronPad as ExceptionHandler but not adapted to this project.
This commit is contained in:
20
src/ExceptionHelper.hpp
Normal file
20
src/ExceptionHelper.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "YYCCInternal.hpp"
|
||||
#if YYCC_OS == YYCC_OS_WINDOWS
|
||||
|
||||
namespace YYCC::ExceptionHelper {
|
||||
|
||||
/**
|
||||
* @brief Register unhandled exception handler
|
||||
* @detail This function frequently called at the start of program.
|
||||
*/
|
||||
void Register();
|
||||
/**
|
||||
* @brief Unregiister unhandled exception handler
|
||||
* @detail This function frequently called at the end of program.
|
||||
*/
|
||||
void Unregister();
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user