mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-09 06:30:10 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -109,6 +109,8 @@ exit:
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_BOARD_MODULE_NAME,
|
||||
.description = "Print motherboard name and other info",
|
||||
.initOptions = (void*) ffInitBoardOptions,
|
||||
.destroyOptions = (void*) ffDestroyBoardOptions,
|
||||
.parseJsonObject = (void*) ffParseBoardJsonObject,
|
||||
.printModule = (void*) ffPrintBoard,
|
||||
.generateJsonResult = (void*) ffGenerateBoardJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user