4coder/custom/4coder_default_bindings.cpp

33 lines
705 B
C++
Raw Normal View History

/*
4coder_default_bidings.cpp - Supplies the default bindings used for default 4coder behavior.
*/
2016-03-21 22:27:27 +00:00
// TOP
#if !defined(FCODER_DEFAULT_BINDINGS_CPP)
#define FCODER_DEFAULT_BINDINGS_CPP
2016-06-28 22:58:50 +00:00
2016-05-06 16:45:50 +00:00
#include "4coder_default_include.cpp"
2019-10-10 22:57:02 +00:00
#include "generated/remapping.h"
#if !defined(NO_BINDING)
2019-10-14 22:57:47 +00:00
2019-10-10 22:57:02 +00:00
void
custom_layer_init(Application_Links *app){
set_all_default_hooks(app);
Thread_Context *tctx = get_thread_context(app);
mapping_init(tctx, &framework_mapping);
setup_default_mapping(&framework_mapping);
global_prof_init();
2019-10-22 05:17:24 +00:00
async_task_handler_init(app, &global_async_system);
ProfileThreadName(tctx, string_u8_litexpr("main"));
}
2019-10-14 22:57:47 +00:00
#endif
2016-06-28 22:58:50 +00:00
#endif //FCODER_DEFAULT_BINDINGS
2016-03-21 22:27:27 +00:00
// BOTTOM