| 1234567891011121314151617181920212223242526272829 |
- #ifndef __SP_GUI_H__
- #define __SP_GUI_H__
- #pragma once
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- typedef struct sp_gui_t sp_gui_t;
- SPBASE_API int sp_gui_create(sp_gui_t **p_gui);
- SPBASE_API void sp_gui_setShow(int isShowFirst);
- SPBASE_API void sp_gui_destroy(sp_gui_t *gui);
- // type: 0 normal msg; 1 bluescreen; 2 fatal error
- SPBASE_API int sp_gui_show_running_info(sp_gui_t *gui, const char *msg, int type);
- SPBASE_API int sp_gui_show_entity_info(sp_gui_t *gui, const char *entity, int state);
- SPBASE_API int sp_gui_display(sp_gui_t *gui);
- SPBASE_API int sp_gui_undisplay(sp_gui_t *gui);
- #ifdef __cplusplus
- }
- #endif
- #endif //__SP_GUI_H__
|