Hiding XMPP and Ncurses from app code

This commit is contained in:
James Booth
2012-02-07 00:37:42 +00:00
parent 4d190a9c43
commit bb3878bc76
3 changed files with 73 additions and 64 deletions

View File

@@ -4,16 +4,14 @@
#include <strophe/strophe.h>
#include <ncurses.h>
// windows
WINDOW *title_bar;
WINDOW *cmd_bar;
WINDOW *cmd_win;
WINDOW *main_win;
void gui_init(void);
void gui_close(void);
void show_incomming_msg(char *from, char *message);
void show_outgoing_msg(char *from, char *message);
void cmd_get_command_str(char *cmd);
void cmd_poll_char(int *ch, char command[], int *size);
void cmd_clear(void);
void cmd_non_block(void);
void cmd_get_password(char *passwd);
void bar_print_message(char *msg);