00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00047 #ifndef PANTHEIOS_INCL_PANTHEIOS_BACKENDS_H_BEC_CONSOLE
00048 #define PANTHEIOS_INCL_PANTHEIOS_BACKENDS_H_BEC_CONSOLE
00049
00050
00051
00052
00053
00054 #ifndef PANTHEIOS_DOCUMENTATION_SKIP_SECTION
00055 # define PANTHEIOS_VER_PANTHEIOS_BACKENDS_H_BEC_CONSOLE_MAJOR 1
00056 # define PANTHEIOS_VER_PANTHEIOS_BACKENDS_H_BEC_CONSOLE_MINOR 0
00057 # define PANTHEIOS_VER_PANTHEIOS_BACKENDS_H_BEC_CONSOLE_REVISION 1
00058 # define PANTHEIOS_VER_PANTHEIOS_BACKENDS_H_BEC_CONSOLE_EDIT 2
00059 #endif
00060
00061
00062
00063
00064
00065 #ifndef PANTHEIOS_INCL_PANTHEIOS_H_PANTHEIOS
00066 # include <pantheios/pantheios.h>
00067 #endif
00068 #ifndef PANTHEIOS_INCL_PANTHEIOS_H_BACKEND
00069 # include <pantheios/backend.h>
00070 #endif
00071
00072 #ifndef PLATFORMSTL_INCL_PLATFORMSTL_H_PLATFORMSTL
00073 # include <platformstl/platformstl.h>
00074 #endif
00075
00076 #if defined(PLATFORMSTL_OS_IS_WINDOWS)
00077 # ifndef PANTHEIOS_INCL_PANTHEIOS_BACKENDS_H_BEC_WINDOWSCONSOLE
00078 # include <pantheios/backends/bec.WindowsConsole.h>
00079 # endif
00080 #else
00081 # ifndef PANTHEIOS_INCL_PANTHEIOS_BACKENDS_H_BEC_FPRINTF
00082 # include <pantheios/backends/bec.fprintf.h>
00083 # endif
00084 #endif
00085
00086
00087
00088
00089
00102
00103
00104
00105
00117 #if defined(PLATFORMSTL_OS_IS_WINDOWS)
00118 # define PANTHEIOS_BE_CONSOLE_F_NO_COLOURS PANTHEIOS_BE_WINDOWSCONSOLE_F_NO_COLOURS
00119 #else
00120 # define PANTHEIOS_BE_CONSOLE_F_NO_COLOURS (0)
00121 #endif
00122
00123
00124
00125
00126
00132 #if defined(PLATFORMSTL_OS_IS_WINDOWS)
00133 typedef pan_be_WindowsConsole_init_t pan_be_console_init_t;
00134 #else
00135 typedef pan_be_fprintf_init_t pan_be_console_init_t;
00136 #endif
00137
00138
00139
00140
00141
00142 #if defined(PANTHEIOS_DOCUMENTATION_SKIP_SECTION)
00143
00183 PANTHEIOS_CALL(void) pantheios_be_console_getAppInit(
00184 int backEndId
00185 , pan_be_console_init_t* init
00186 ) ;
00187
00188 #else
00189 # if defined(PLATFORMSTL_OS_IS_WINDOWS)
00190 # define pantheios_be_console_getAppInit(backEndId, init) pantheios_be_WindowsConsole_getAppInit(backEndId, init)
00191 # else
00192 # define pantheios_be_console_getAppInit(backEndId, init) pantheios_be_fprintf_getAppInit(backEndId, init)
00193 # endif
00194 #endif
00195
00196
00197
00198
00199
00213 #if defined(PLATFORMSTL_OS_IS_WINDOWS)
00214 # define pantheios_be_console_getDefaultAppInit(init) pantheios_be_WindowsConsole_getAppInit(init)
00215 #else
00216 # define pantheios_be_console_getDefaultAppInit(init) pantheios_be_fprintf_getAppInit(init)
00217 #endif
00218
00219
00226 #if defined(PLATFORMSTL_OS_IS_WINDOWS)
00227 # define pantheios_be_console_init pantheios_be_WindowsConsole_init
00228 #else
00229 # define pantheios_be_console_init pantheios_be_fprintf_init
00230 #endif
00231
00232
00239 #if defined(PLATFORMSTL_OS_IS_WINDOWS)
00240 # define pantheios_be_console_uninit pantheios_be_WindowsConsole_uninit
00241 #else
00242 # define pantheios_be_console_uninit pantheios_be_fprintf_uninit
00243 #endif
00244
00245
00252 #if defined(PLATFORMSTL_OS_IS_WINDOWS)
00253 # define pantheios_be_console_logEntry pantheios_be_WindowsConsole_logEntry
00254 #else
00255 # define pantheios_be_console_logEntry pantheios_be_fprintf_logEntry
00256 #endif
00257
00258
00287 #if defined(PLATFORMSTL_OS_IS_WINDOWS)
00288 # define pantheios_be_console_parseArgs(numArgs, args, init) pantheios_be_WindowsConsole_parseArgs(numArgs, args, init)
00289 #else
00290 # define pantheios_be_console_parseArgs(numArgs, args, init) pantheios_be_fprintf_parseArgs(numArgs, args, init)
00291 #endif
00292
00293
00294
00295 #endif
00296
00297