2023-03-09 19:38:03 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "fastfetch.h"
|
|
|
|
|
|
|
|
|
|
void ffPrintDateTime(FFinstance* instance, FFDateTimeOptions* options);
|
|
|
|
|
void ffInitDateTimeOptions(FFDateTimeOptions* options);
|
|
|
|
|
bool ffParseDateTimeCommandOptions(FFDateTimeOptions* options, const char* key, const char* value);
|
|
|
|
|
void ffDestroyDateTimeOptions(FFDateTimeOptions* options);
|
|
|
|
|
|
|
|
|
|
#ifdef FF_HAVE_JSONC
|
2023-03-15 15:24:40 +08:00
|
|
|
#include "common/jsonconfig.h"
|
|
|
|
|
bool ffParseDateTimeJsonObject(FFinstance* instance, const char* type, json_object* module);
|
2023-03-09 19:38:03 +08:00
|
|
|
#endif
|