typedef void (*CallbackFunc)(bool); extern "C" { void register_callback_for_clamshell_change(CallbackFunc callback); void unregister_callback_for_clamshell_change(); }