mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-26 22:40:25 +00:00
585b7f963d
merge ofw commit
16 lines
336 B
C
16 lines
336 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;
|