mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-28 07:47:35 +03:00
585b7f963d
merge ofw commit
17 lines
329 B
C
17 lines
329 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"
|
|
#define PLUGIN_API_VERSION 1
|
|
|
|
typedef struct {
|
|
const char* name;
|
|
int (*method1)(void);
|
|
int (*method2)(int, int);
|
|
} ExamplePlugin;
|