diff mcabber/screen.h @ 22:6a97e7cd00d9

[/trunk] Changeset 37 by mikael * Unexport the scr_SearchWindow() function. Use the new scr_IsHiddenMessage() function instead.
author mikael
date Sun, 27 Mar 2005 19:32:38 +0000
parents 7eeda3a06b21
children
line wrap: on
line diff
--- a/mcabber/screen.h	Sun Mar 27 18:52:11 2005 +0000
+++ b/mcabber/screen.h	Sun Mar 27 19:32:38 2005 +0000
@@ -2,9 +2,6 @@
 #define __SCREEN_H__ 1
 
 #include <ncurses.h>
-#include <panel.h>
-
-#include "list.h"
 
 #define COLOR_POPUP     1
 #define COLOR_GENERAL   3
@@ -18,17 +15,6 @@
 
 #define INPUTLINE_LENGTH  1024
 
-
-typedef struct _window_entry_t {
-  WINDOW *win;
-  PANEL *panel;
-  char *name;
-  int nlines;
-  char **texto;
-  int hidden_msg;
-  struct list_head list;
-} window_entry_t;
-
 extern int update_roaster;
 
 void scr_InitCurses(void);
@@ -42,7 +28,8 @@
 void scr_RoolWindow(void);
 void scr_ShowBuddyWindow(void);
 void scr_LogPrint(const char *fmt, ...);
-window_entry_t *scr_SearchWindow(char *winId);
+
+int scr_IsHiddenMessage(char *jid);
 
 WINDOW *scr_GetRosterWindow(void);
 WINDOW *scr_GetStatusWindow(void);