Program Listing for File platform_integration.h

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

#pragma once

#include <pntos/annotations.h>
#include <pntos/plugins/common.h>

#ifdef __cplusplus
extern "C" {
#endif

PNTOS_ASSUME_NONNULL_BEGIN

typedef struct PntosPlatformIntegrationPlugin {
    PntosCommonPlugin common;
    void (*take_control)(struct PntosPlatformIntegrationPlugin* self,
                         PntosPluginArray* plugins,
                         char* PNTOS_NULLABLE* PNTOS_NULLABLE plugin_resources_locations,
                         char* PNTOS_NULLABLE initial_config);

} PntosPlatformIntegrationPlugin;

PNTOS_ASSUME_NONNULL_END

#ifdef __cplusplus
}
#endif