mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-12 12:51:22 +04:00
13 lines
253 B
C
13 lines
253 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
/* Common interface between a plugin and host applicaion */
|
||
|
|
|
||
|
|
#define PLUGIN_APP_ID "example_plugins"
|
||
|
|
#define PLUGIN_API_VERSION 1
|
||
|
|
|
||
|
|
typedef struct {
|
||
|
|
const char* name;
|
||
|
|
int (*method1)();
|
||
|
|
int (*method2)(int, int);
|
||
|
|
} ExamplePlugin;
|