mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 08:13:44 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -134,6 +134,8 @@ exit:
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_HOST_MODULE_NAME,
|
||||
.description = "Print product name of your computer",
|
||||
.initOptions = (void*) ffInitHostOptions,
|
||||
.destroyOptions = (void*) ffDestroyHostOptions,
|
||||
.parseJsonObject = (void*) ffParseHostJsonObject,
|
||||
.printModule = (void*) ffPrintHost,
|
||||
.generateJsonResult = (void*) ffGenerateHostJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user