Program Listing for File ui.h

Return to documentation for file (api/include/pntos/plugins/ui.h)

#pragma once

#include <pntos/plugins/common.h>

#ifdef __cplusplus
extern "C" {
#endif

PNTOS_ASSUME_NONNULL_BEGIN

typedef struct PntosUiPlugin {
    PntosCommonPlugin common;
    bool (*requires_main_thread)(struct PntosUiPlugin* self);
    void (*run_main_thread)(struct PntosUiPlugin* self);
} PntosUiPlugin;

PNTOS_ASSUME_NONNULL_END

#ifdef __cplusplus
}
#endif