mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 17:41:41 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -110,6 +110,8 @@ exit:
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_CHASSIS_MODULE_NAME,
|
||||
.description = "Print chassis type (desktop, laptop, etc)",
|
||||
.initOptions = (void*) ffInitChassisOptions,
|
||||
.destroyOptions = (void*) ffDestroyChassisOptions,
|
||||
.parseJsonObject = (void*) ffParseChassisJsonObject,
|
||||
.printModule = (void*) ffPrintChassis,
|
||||
.generateJsonResult = (void*) ffGenerateChassisJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user