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:
@@ -102,6 +102,8 @@ exit:
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_LM_MODULE_NAME,
|
||||
.description = "Print login manager (desktop manager) name and version",
|
||||
.initOptions = (void*) ffInitLMOptions,
|
||||
.destroyOptions = (void*) ffDestroyLMOptions,
|
||||
.parseJsonObject = (void*) ffParseLMJsonObject,
|
||||
.printModule = (void*) ffPrintLM,
|
||||
.generateJsonResult = (void*) ffGenerateLMJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user