Global: init support for JSON config file migration (WIP)

This commit is contained in:
李通洲
2023-10-23 13:39:07 +08:00
parent 44632e9bf6
commit ec87790e4f
65 changed files with 716 additions and 92 deletions
+10 -1
View File
@@ -90,7 +90,16 @@ void ffPrintWallpaperHelpFormat(void)
void ffInitWallpaperOptions(FFWallpaperOptions* options)
{
ffOptionInitModuleBaseInfo(&options->moduleInfo, FF_WALLPAPER_MODULE_NAME, ffParseWallpaperCommandOptions, ffParseWallpaperJsonObject, ffPrintWallpaper, ffGenerateWallpaperJsonResult, ffPrintWallpaperHelpFormat);
ffOptionInitModuleBaseInfo(
&options->moduleInfo,
FF_WALLPAPER_MODULE_NAME,
ffParseWallpaperCommandOptions,
ffParseWallpaperJsonObject,
ffPrintWallpaper,
ffGenerateWallpaperJsonResult,
ffPrintWallpaperHelpFormat,
NULL
);
ffOptionInitModuleArg(&options->moduleArgs);
}