#pragma once #include "../xremote.h" //#include #include "../helpers/xremote_custom_event.h" #define SECONDS_LENGHT 3 #define SECONDS_FORMAT "%ds" typedef struct XRemotePauseSet XRemotePauseSet; typedef void (*XRemotePauseSetCallback)(XRemoteCustomEvent event, void* context); void xremote_pause_set_set_callback( XRemotePauseSet* instance, XRemotePauseSetCallback callback, void* context); XRemotePauseSet* xremote_pause_set_alloc(); void xremote_pause_set_free(XRemotePauseSet* instance); void xremote_pause_set_enter(void* context); View* xremote_pause_set_get_view(XRemotePauseSet* instance);