mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-14 10:57:08 +03:00
38cd3c4ee4
git-svn-id: svn://kolibrios.org@6456 a494cfbc-eb01-0410-851d-a64ba20cac60
29 lines
898 B
C
29 lines
898 B
C
#ifndef KOLIBRI_KMENU_H
|
|
#define KOLIBRI_KMENU_H
|
|
|
|
extern int init_kmenu_asm(void);
|
|
|
|
int kolibri_kmenu_init(void)
|
|
{
|
|
int asm_init_status = init_kmenu_asm();
|
|
|
|
/* just return asm_init_status? or return init_boxlib_asm() ?*/
|
|
|
|
if(asm_init_status == 0)
|
|
return 0;
|
|
else
|
|
return 1;
|
|
}
|
|
|
|
|
|
|
|
extern void (*kmainmenu_draw)(void *) __attribute__((__stdcall__));
|
|
extern void (*kmainmenu_dispatch_cursorevent)(void *) __attribute__((__stdcall__));
|
|
extern void (*kmenu_init)(void *) __attribute__((__stdcall__));
|
|
extern void* (*ksubmenu_new)() __attribute__((__stdcall__));
|
|
extern void (*ksubmenu_add)(void *, void *) __attribute__((__stdcall__));
|
|
extern void* (*kmenuitem_new)(uint32_t, const char *, uint32_t) __attribute__((__stdcall__));
|
|
extern void* (*kmenuitem__submenu_new)(uint32_t, const char *, void *) __attribute__((__stdcall__));
|
|
|
|
#endif /* KOLIBRI_KMENU_H */
|