| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef _DIALOG_UI_H_ |
| #define _DIALOG_UI_H_ |
| |
| #include <dialog.h> |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| |
| |
| |
| |
| |
| extern int info_box( const char *title, const char *message, int height, int sleep, int clear_screen ); |
| |
| extern int info_pkg_box( const char *title, const char *pkgname, const char *pkgver, const char *priority, |
| const char *message, int height, int sleep, int clear_screen ); |
| |
| extern int ask_install_box( const char *title, const char *pkgname, const char *pkgver, const char *priority, |
| const char *message, int height, int sleep, int clear_screen ); |
| |
| extern int ask_remove_box( const char *title, const char *pkgname, const char *pkgver, |
| const char *message, int height, int sleep, int clear_screen ); |
| |
| extern int ask_reinstall_box( const char *title, const char *pkgname, const char *pkgver, |
| const char *message, int height, int sleep, int clear_screen ); |
| |
| extern int ask_update_box( const char *title, const char *pkgname, const char *pkgver, const char *priority, |
| const char *message, int height, int sleep, int clear_screen ); |
| |
| extern int select_packages_box( DIALOG_LISTITEM *items, int items_num, int sleep, int clear_screen ); |
| |
| extern void show_install_dlg_progress( int percent ); |
| |
| |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif |
| |