mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-24 22:07:14 +03:00
ffa3996a5e
* clang-format: AllowShortEnumsOnASingleLine: false * clang-format: InsertNewlineAtEOF: true * clang-format: Standard: c++20 * clang-format: AlignConsecutiveBitFields * clang-format: AlignConsecutiveMacros * clang-format: RemoveParentheses: ReturnStatement * clang-format: RemoveSemicolon: true * Restored RemoveParentheses: Leave, retained general changes for it * formatting: fixed logging TAGs * Formatting update for dev Co-authored-by: あく <alleteam@gmail.com>
17 lines
341 B
C
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;
|