#include <stdio.h>#include <string.h>#include <stdarg.h>#include "vapiGtkAux.h"#include "vapiGtkMessages.h"#include "vapiGtkAuxWindow.h"Diagrama de dependências de inclusão para vapiString.c:

Ir para o código fonte deste ficheiro.
Macros | |
| #define | _GNU_SOURCE |
| #define | vasprintf vsprintf |
Funções | |
| void | v_debug (const char *fmt,...) |
| void | v_error (const char *fmt,...) |
| void | v_error_ui (const char *fmt,...) |
| void | v_info (const char *fmt,...) |
| static void | v_message (const char *Message, int type, va_list args) |
| char * | v_printf (const char *fmt,...) |
| void | v_success (const char *fmt,...) |
| void | v_vasprintf (char **buffer, const char *format, va_list args) |
| #define _GNU_SOURCE |
Definido na linha 1 do ficheiro vapiString.c.
| #define vasprintf vsprintf |
Definido na linha 12 do ficheiro vapiString.c.
| void v_debug | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definido na linha 132 do ficheiro vapiString.c.
Referências v_DEBUG e v_message().
Grafo de chamadas desta função:

| void v_error | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definido na linha 114 do ficheiro vapiString.c.
Referências v_ERROR e v_message().
Referenciado por vapiGtkAuxStepInProgressBar(), vapiGtkMacroUpdateItemOptions(), vapiGtkPixbuf(), vapiGtkSetOriginWindowNewVapi(), vapiGtkTableGetSelectedRow(), vapiGtkWindowIOAdd_Add(), vapiGtkWindowIOConfiguredList() e vapiLoadMacro().
Grafo de chamadas desta função:

Here is the caller graph for this function:

| void v_error_ui | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definido na linha 143 do ficheiro vapiString.c.
Referências v_ERROR_UI e v_message().
Referenciado por vapiGtkAuxCheckOperation(), vapiGtkMacroCheckSelected(), vapiGtkMacroIsItRunning(), vapiGtkMacroOpenFromXML() e vapiGtkMacroSaveToXML().
Grafo de chamadas desta função:

Here is the caller graph for this function:

| void v_info | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definido na linha 105 do ficheiro vapiString.c.
Referências v_INFO e v_message().
Referenciado por vapiCalibrateCameraGetConstant(), vapiGtkMacroDeleteItem(), vapiGtkSetOriginWindowNewVapi(), vapiImagesPrint(), vapiIOConfiguredListFromXML(), vapiIOConfiguredToXML(), vapiMacroToXML(), vapiOCR(), vapiRefreshImage() e vapiTemplateMatch().
Grafo de chamadas desta função:

Here is the caller graph for this function:

| static void v_message | ( | const char * | Message, | |
| int | type, | |||
| va_list | args | |||
| ) | [static] |
Definido na linha 53 do ficheiro vapiString.c.
Referências v_DEBUG, v_ERROR, v_ERROR_UI, v_INFO, v_printf(), v_SUCCESS, v_vasprintf(), vapiGtkErrorDialogSetMessage() e vapiGtkWriteMessage().
Referenciado por v_debug(), v_error(), v_error_ui(), v_info() e v_success().
00055 { 00056 case v_INFO: 00057 { 00058 finalString = v_printf ("INFO: %s", tempMessage); 00059 } 00060 break; 00061 00062 case v_ERROR: 00063 { 00064 finalString = v_printf ("ERRO: %s", tempMessage); 00065 } 00066 break; 00067 case v_ERROR_UI: 00068 { 00069 finalString = v_printf ("ERRO: %s", tempMessage); 00070 #ifndef VAPI_WITHOUT_INTERFACE 00071 vapiGtkErrorDialogSetMessage (finalString); 00072 #endif 00073 } 00074 break; 00075 case v_SUCCESS: 00076 { 00077 finalString = v_printf ("SUCESSO: %s", Message); 00078 } 00079 break; 00080 case v_DEBUG: 00081 { 00082 finalString = v_printf ("DEBUG: %s", tempMessage); 00083 } 00084 break; 00085 00086 default: 00087 finalString = v_printf (" "); 00088 break; 00089 } 00090 printf ("%s\n", finalString); 00091 #ifndef VAPI_WITHOUT_INTERFACE 00092 free(tempMessage); 00093 tempMessage = v_printf("%s\n", finalString); 00094 vapiGtkWriteMessage (tempMessage, type); 00095 #endif 00096 free (finalString); 00097 free (tempMessage); 00098 } 00099 00100 void 00101 v_info (const char *fmt, ...) 00102 {
Grafo de chamadas desta função:

Here is the caller graph for this function:

| char* v_printf | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definido na linha 38 do ficheiro vapiString.c.
Referências v_vasprintf().
Referenciado por decoder(), v_bypass_append(), v_message(), vapi_loading_progress_step(), vapiApplyMacro(), vapiCameraSettingsStartNewVapi(), vapiGtkMacroGetMacroTag(), vapiGtkMacroMacroTagEncode(), vapiGtkMacroTablesApplyUntil(), vapiGtkTablesMacroTagDecoder(), vapiGtkWriteMessage(), vapiMacroTag(), vapiOptionsXMLOptionsElement() e vapiResultCheckMacroTag().
Grafo de chamadas desta função:

Here is the caller graph for this function:

| void v_success | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definido na linha 123 do ficheiro vapiString.c.
Referências v_message() e v_SUCCESS.
Grafo de chamadas desta função:

| void v_vasprintf | ( | char ** | buffer, | |
| const char * | format, | |||
| va_list | args | |||
| ) |
Definido na linha 20 do ficheiro vapiString.c.
Referenciado por v_message() e v_printf().
00021 { 00022 int len; 00023 len = _vscprintf (format, args) // _vscprintf doesn't count 00024 + 1; // terminating '\0' 00025 *buffer = malloc (len * sizeof (char)); 00026 vsprintf (*buffer, format, args); 00027 } 00028 #else 00029 #define v_vasprintf vasprintf 00030 #endif 00031
Here is the caller graph for this function:

1.5.1