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:
@@ -94,6 +94,8 @@ void ffGenerateDEJsonResult(FF_MAYBE_UNUSED FFDEOptions* options, yyjson_mut_doc
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_DE_MODULE_NAME,
|
||||
.description = "Print desktop environment name",
|
||||
.initOptions = (void*) ffInitDEOptions,
|
||||
.destroyOptions = (void*) ffDestroyDEOptions,
|
||||
.parseJsonObject = (void*) ffParseDEJsonObject,
|
||||
.printModule = (void*) ffPrintDE,
|
||||
.generateJsonResult = (void*) ffGenerateDEJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user