mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-04 12:14:19 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -99,6 +99,8 @@ void ffGenerateKeyboardJsonResult(FF_MAYBE_UNUSED FFKeyboardOptions* options, yy
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_KEYBOARD_MODULE_NAME,
|
||||
.description = "List (connected) keyboards",
|
||||
.initOptions = (void*) ffInitKeyboardOptions,
|
||||
.destroyOptions = (void*) ffDestroyKeyboardOptions,
|
||||
.parseJsonObject = (void*) ffParseKeyboardJsonObject,
|
||||
.printModule = (void*) ffPrintKeyboard,
|
||||
.generateJsonResult = (void*) ffGenerateKeyboardJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user