Files
fastfetch/src/modules/break/break.c
T

37 lines
845 B
C
Raw Normal View History

2023-03-13 19:01:08 +08:00
#include "common/printing.h"
#include "modules/break/break.h"
2023-08-17 10:56:54 +08:00
void ffPrintBreak(FF_MAYBE_UNUSED FFBreakOptions* options)
2023-03-13 19:01:08 +08:00
{
ffLogoPrintLine();
2023-03-13 19:01:08 +08:00
putchar('\n');
}
2023-10-23 13:32:18 +08:00
bool ffParseBreakCommandOptions(FF_MAYBE_UNUSED FFBreakOptions* options, FF_MAYBE_UNUSED const char* key, FF_MAYBE_UNUSED const char* value)
2023-03-13 19:01:08 +08:00
{
2023-10-23 13:32:18 +08:00
return false;
2023-08-17 10:56:54 +08:00
}
2023-10-23 13:32:18 +08:00
void ffParseBreakJsonObject(FF_MAYBE_UNUSED FFBreakOptions* options, FF_MAYBE_UNUSED yyjson_val* module)
2023-08-17 10:56:54 +08:00
{
}
2023-10-23 13:32:18 +08:00
void ffInitBreakOptions(FF_MAYBE_UNUSED FFBreakOptions* options)
2023-08-17 10:56:54 +08:00
{
ffOptionInitModuleBaseInfo(
&options->moduleInfo,
FF_BREAK_MODULE_NAME,
"Print a empty line",
ffParseBreakCommandOptions,
ffParseBreakJsonObject,
ffPrintBreak,
NULL,
NULL,
NULL
);
2023-08-17 10:56:54 +08:00
}
2023-10-23 13:32:18 +08:00
void ffDestroyBreakOptions(FF_MAYBE_UNUSED FFBreakOptions* options)
2023-08-17 10:56:54 +08:00
{
2023-03-13 19:01:08 +08:00
}