Moved cons_show_login_success() to console module

This commit is contained in:
James Booth
2013-04-21 00:21:30 +01:00
parent c7100203e4
commit a234ba0cd6
7 changed files with 90 additions and 132 deletions

View File

@@ -23,7 +23,15 @@
#ifndef WINDOW_H
#define WINDOW_H
#include "ui/ui.h"
#define PAD_SIZE 1000
typedef enum {
WIN_UNUSED,
WIN_CONSOLE,
WIN_CHAT,
WIN_MUC,
WIN_PRIVATE
} win_type_t;
typedef struct prof_win_t {
char *from;
@@ -35,10 +43,11 @@ typedef struct prof_win_t {
int history_shown;
} ProfWin;
ProfWin* window_create(const char * const title, int cols, win_type_t type);
void window_free(ProfWin *window);
void window_show_time(ProfWin* window, char show_char);
void window_show_time(ProfWin *window, char show_char);
void window_presence_colour_on(ProfWin *window, const char * const presence);
void window_presence_colour_off(ProfWin *window, const char * const presence);
#endif