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
|
|
|
{
|
2023-06-24 10:59:53 +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
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-11 10:47:02 +08:00
|
|
|
static FFModuleBaseInfo ffModuleInfo = {
|
|
|
|
|
.name = FF_BREAK_MODULE_NAME,
|
|
|
|
|
.description = "Print a empty line",
|
|
|
|
|
.parseCommandOptions = (void*) ffParseBreakCommandOptions,
|
|
|
|
|
.parseJsonObject = (void*) ffParseBreakJsonObject,
|
|
|
|
|
.printModule = (void*) ffPrintBreak,
|
|
|
|
|
};
|
|
|
|
|
|
2023-10-23 13:32:18 +08:00
|
|
|
void ffInitBreakOptions(FF_MAYBE_UNUSED FFBreakOptions* options)
|
2023-08-17 10:56:54 +08:00
|
|
|
{
|
2024-12-11 10:47:02 +08:00
|
|
|
options->moduleInfo = ffModuleInfo;
|
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
|
|
|
}
|