mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-01 10:32:35 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -169,6 +169,8 @@ void ffGenerateBluetoothRadioJsonResult(FF_MAYBE_UNUSED FFBluetoothRadioOptions*
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_BLUETOOTHRADIO_MODULE_NAME,
|
||||
.description = "List bluetooth radios width supported version and vendor",
|
||||
.initOptions = (void*) ffInitBluetoothRadioOptions,
|
||||
.destroyOptions = (void*) ffDestroyBluetoothRadioOptions,
|
||||
.parseJsonObject = (void*) ffParseBluetoothRadioJsonObject,
|
||||
.printModule = (void*) ffPrintBluetoothRadio,
|
||||
.generateJsonResult = (void*) ffGenerateBluetoothRadioJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user