From 26b57fbea1a969ef6405365ff78391e9d3605621 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Tue, 11 Oct 2022 03:18:42 +0100 Subject: add cmakelists for CLion, tons and tons of reorganisation using new info from the Pro8 compiler --- command_line/CmdLine/Src/Envir/CLIO.c | 170 ++++++++++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 command_line/CmdLine/Src/Envir/CLIO.c (limited to 'command_line/CmdLine/Src/Envir/CLIO.c') diff --git a/command_line/CmdLine/Src/Envir/CLIO.c b/command_line/CmdLine/Src/Envir/CLIO.c new file mode 100644 index 0000000..ac58506 --- /dev/null +++ b/command_line/CmdLine/Src/Envir/CLIO.c @@ -0,0 +1,170 @@ +#include "mwcc_decomp.h" + +static void catchinterrupt() { + +} + +static void SetupConsoleInfo() { + +} + +static void Crash() { + +} + +void SetupDebuggingTraps() { + +} + +Boolean IO_Initialize() { + +} + +Boolean IO_Terminate() { + +} + +Boolean IO_HelpInitialize() { + +} + +Boolean IO_HelpTerminate() { + +} + +static Boolean SendHandleToFile(FILE *file, OSHandle *text) { + +} + +void FixHandleForIDE(OSHandle *text) { + +} + +Boolean ShowHandle(OSHandle *text, Boolean decorate) { + +} + +Boolean WriteHandleToFile(OSSpec *spec, OSHandle *text, CWDataType creator, CWDataType type) { + +} + +Boolean WriteBinaryHandleToFile(OSSpec *spec, CWDataType maccreator, CWDataType mactype, OSHandle *text) { + +} + +Boolean AppendHandleToFile(OSSpec *spec, OSHandle *text, CWDataType maccreator, CWDataType mactype) { + +} + +void InitWorking() { + +} + +void ShowWorking() { + +} + +void TermWorking() { + +} + +static void ProgressFunction(const char *functionname) { + +} + +Boolean CheckForUserBreak() { + +} + +typedef struct { + char *buffer; + int pos; + int maxlen; + SInt16 col; + Boolean origina; + char *newline; +} UnkCLIOStruct; + +static void StartLine(UnkCLIOStruct *f) { + +} + +static void WrapText(UnkCLIOStruct *f) { + +} + +static char *IO_VFormatText(char *buffer, SInt32 size, char *newline, const char *format, va_list ap) { + +} + +char *IO_FormatText(char *buffer, SInt32 size, char *newline, const char *format, ...) { + +} + +void CLPrintDispatch(SInt16 msgtype, const char *message, FILE *out, char *ptr, char *nptr) { + +} + +static void GetFileInfo(MessageRef *ref) { + +} + +static char *Arrows(MessageRef *ref) { + +} + +static Boolean IsLikelyAnImporter(Plugin *plugin) { + +} + +static char *GuessTool(Plugin *plugin) { + +} + +static char *GuessDoing(Plugin *plugin) { + +} + +static void styledMessage_MPW(Plugin *plugin, MessageRef *ref, SInt16 msgType, const char *format, va_list va) { + +} + +static void styledMessage_Default(Plugin *plugin, MessageRef *ref, SInt16 msgType, const char *format, va_list va) { + +} + +static void styledMessage_Terse(Plugin *plugin, MessageRef *ref, SInt16 msgType, const char *format, va_list va) { + +} + +static void styledMessage_IDE(Plugin *plugin, MessageRef *ref, SInt16 msgType, const char *format, va_list va) { + +} + +static void styledMessage_Parseable(Plugin *plugin, MessageRef *ref, SInt16 msgType, const char *format, va_list va) { + +} + +void CLPrintType(SInt16 msgtype, ...) { + +} + +void CLPrint(SInt16 msgtype, ...) { + +} + +void CLPrintWarning(SInt16 msgtype, ...) { + +} + +void CLPrintErr(SInt16 msgtype, ...) { + +} + +static void FixupMessageRef(MessageRef *ref) { + +} + +SInt16 CLStyledMessageDispatch(Plugin *plugin, MessageRef *ref, SInt32 errorNumber, SInt16 msgType) { + +} -- cgit v1.2.3