|
gwenhywfar 5.14.1
|
#include "testgui_p.h"#include <gwenhywfar/fslock.h>#include <gwenhywfar/directory.h>#include <gwenhywfar/debug.h>
Go to the source code of this file.
Macros | |
| #define | DISABLE_DEBUGLOG |
Functions | |
| static void | _addLogLineToFile (GWEN_GUI *gui, const char *s) |
| static void | _addLogLineToList (GWEN_GUI *gui, const char *s) |
| static GWENHYWFAR_CB void | _freeData (GWEN_UNUSED void *bp, void *p) |
| static GWENHYWFAR_CB void | _freeData (void *bp, void *p) |
| static GWENHYWFAR_CB int | _logHook (GWEN_GUI *gui, const char *logDomain, GWEN_LOGGER_LEVEL priority, const char *s) |
| static void | _writeLinesToFile (GWEN_GUI *gui) |
| void | Test_Gui_FlushLogs (GWEN_GUI *gui) |
| void | TestGui_AddLogLine (GWEN_GUI *gui, const char *s) |
| void | TestGui_Extend (GWEN_GUI *gui) |
| void | TestGui_SetLogFile (GWEN_GUI *gui, const char *fname) |
| void | TestGui_SetLogLastX (GWEN_GUI *gui, int i) |
| void | TestGui_Unextend (GWEN_GUI *gui) |
|
static |
Definition at line 195 of file testgui.c.
References GWEN_Directory_GetPath(), GWEN_FSLock_free(), GWEN_FSLock_Lock(), GWEN_FSLock_new(), GWEN_FSLock_ResultOk, GWEN_FSLock_TypeFile, GWEN_FSLock_Unlock(), GWEN_INHERIT_GETDATA, GWEN_PATH_FLAGS_VARIABLE, and NULL.
Referenced by TestGui_AddLogLine().


|
static |
Definition at line 180 of file testgui.c.
References GWEN_INHERIT_GETDATA, GWEN_StringList_AppendString(), GWEN_StringList_Count(), and GWEN_StringList_RemoveFirstString().
Referenced by TestGui_AddLogLine().


|
static |
Definition at line 75 of file testgui.c.
References GWEN_FREE_OBJECT, GWEN_StringList_free(), GWEN_UNUSED, and GWENHYWFAR_CB.

|
static |
References GWENHYWFAR_CB.
|
static |
Definition at line 103 of file testgui.c.
References GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_INHERIT_GETDATA, GWEN_Logger_CreateLogMessage(), GWENHYWFAR_CB, and TestGui_AddLogLine().

|
static |
Definition at line 255 of file testgui.c.
References GWEN_Directory_GetPath(), GWEN_FSLock_free(), GWEN_FSLock_Lock(), GWEN_FSLock_new(), GWEN_FSLock_ResultOk, GWEN_FSLock_TypeFile, GWEN_FSLock_Unlock(), GWEN_INHERIT_GETDATA, GWEN_PATH_FLAGS_VARIABLE, GWEN_StringList_Count(), GWEN_StringList_FirstEntry(), GWEN_StringListEntry_Data(), GWEN_StringListEntry_Next(), and NULL.
Referenced by Test_Gui_FlushLogs().


| void Test_Gui_FlushLogs | ( | GWEN_GUI * | gui | ) |
Definition at line 88 of file testgui.c.
References _writeLinesToFile(), GWEN_INHERIT_GETDATA, and GWEN_StringList_Clear().
Referenced by _finishGui().


| void TestGui_AddLogLine | ( | GWEN_GUI * | gui, |
| const char * | s ) |
Definition at line 133 of file testgui.c.
References _addLogLineToFile(), _addLogLineToList(), and GWEN_INHERIT_GETDATA.
Referenced by _logHook(), _runModule(), and _runTest().


| void TestGui_Extend | ( | GWEN_GUI * | gui | ) |
Definition at line 41 of file testgui.c.
References _freeData(), _logHook(), GWEN_Gui_SetLogHookFn(), GWEN_INHERIT_SETDATA, GWEN_NEW_OBJECT, GWEN_StringList_new(), and TestGui_Extend().
Referenced by _setupGui(), and TestGui_Extend().


| void TestGui_SetLogFile | ( | GWEN_GUI * | gui, |
| const char * | fname ) |
Definition at line 149 of file testgui.c.
References GWEN_INHERIT_GETDATA, and NULL.
Referenced by _setupGui().

| void TestGui_SetLogLastX | ( | GWEN_GUI * | gui, |
| int | i ) |
Definition at line 167 of file testgui.c.
References GWEN_INHERIT_GETDATA.
Referenced by _setupGui().

| void TestGui_Unextend | ( | GWEN_GUI * | gui | ) |
Definition at line 55 of file testgui.c.
References GWEN_FREE_OBJECT, GWEN_Gui_SetLogHookFn(), GWEN_INHERIT_GETDATA, GWEN_INHERIT_UNLINK, and GWEN_StringList_free().
Referenced by _finishGui().

