Subversion Repositories Kolibri OS

Rev

Rev 9554 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9554 Rev 9558
Line 5... Line 5...
5
static char* __con_caption = "Console application";
5
static char* __con_caption = "Console application";
6
static char* __con_dllname = "/sys/lib/console.obj";
6
static char* __con_dllname = "/sys/lib/console.obj";
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
int __con_is_load = 0;
8
int __con_is_load = 0;
9
 
9
 
10
void  __stdcall (*__con_init_hidden)(int wnd_width, unsigned wnd_height, int scr_width, int scr_height, const char* title);
10
void  stdcall (*__con_init_hidden)(int wnd_width, unsigned wnd_height, int scr_width, int scr_height, const char* title);
11
void  __stdcall (*con_exit)(int);
11
void  stdcall (*con_exit)(int);
12
void  __stdcall (*con_set_title)(const char* title);
12
void  stdcall (*con_set_title)(const char* title);
13
void  __stdcall (*con_write_asciiz)(const char* str);
13
void  stdcall (*con_write_asciiz)(const char* str);
14
void  __stdcall (*con_write_string)(const char* str, dword length);
14
void  stdcall (*con_write_string)(const char* str, dword length);
15
int   __cdecl   (*con_printf)(const char* format, ...);
15
int   cdecl   (*con_printf)(const char* format, ...);
16
dword __stdcall (*con_get_flags)(void);
16
dword stdcall (*con_get_flags)(void);
17
dword __stdcall (*con_set_flags)(dword new_flags);
17
dword stdcall (*con_set_flags)(dword new_flags);
18
int   __stdcall (*con_get_font_height)(void);
18
int   stdcall (*con_get_font_height)(void);
19
int   __stdcall (*con_get_cursor_height)(void);
19
int   stdcall (*con_get_cursor_height)(void);
20
int   __stdcall (*con_set_cursor_height)(int new_height);
20
int   stdcall (*con_set_cursor_height)(int new_height);
21
int   __stdcall (*con_getch)(void);
21
int   stdcall (*con_getch)(void);
22
word  __stdcall (*con_getch2)(void);
22
word  stdcall (*con_getch2)(void);
23
int   __stdcall (*con_kbhit)(void);
23
int   stdcall (*con_kbhit)(void);
24
char* __stdcall (*con_gets)(char* str, int n);
24
char* stdcall (*con_gets)(char* str, int n);
25
char* __stdcall (*con_gets2)(con_gets2_callback callback, char* str, int n);
25
char* stdcall (*con_gets2)(con_gets2_callback callback, char* str, int n);
26
void  __stdcall (*con_cls)();
26
void  stdcall (*con_cls)();
-
 
27
void  stdcall (*con_get_cursor_pos)(int* px, int* py);
-
 
28
void  stdcall (*con_set_cursor_pos)(int x, int y);
-
 
29
 
-
 
30
/*static void __con_panic(char* func_name)
-
 
31
{
-
 
32
    debug_printf("In console.obj %s=NULL!\n", func_name);
Line 27... Line 33...
27
void  __stdcall (*con_get_cursor_pos)(int* px, int* py);
33
    _ksys_exit();
28
void  __stdcall (*con_set_cursor_pos)(int x, int y);
34
}*/
29
 
35
 
30
static void __con_lib_link(ksys_dll_t *exp)
36
static void __con_lib_link(ksys_dll_t *exp)