unleashed-firmware/applications/examples/example_plugins_advanced/plugin_interface.h
2024-07-15 20:02:45 +03:00

17 lines
341 B
C

/**
* @file plugin_interface.h
* @brief Example plugin interface.
*
* Common interface between a plugin and host application
*/
#pragma once
#define PLUGIN_APP_ID "example_plugins_advanced"
#define PLUGIN_API_VERSION 1
typedef struct {
const char* name;
void (*method1)(int);
void (*method2)(void);
} AdvancedPlugin;