about summary refs log tree commit diff stats
path: root/src/ui/ui.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-05-16 22:34:05 +0100
committerJames Booth <boothj5@gmail.com>2013-05-16 22:34:05 +0100
commit2f927523657fa3949c8b9d7365152b21f2ab2f0c (patch)
tree712403e2dd4b50d4a93fdd8f60d7e9fc484596cb /src/ui/ui.h
parent57e64bebe58f051eafc90b27ebe328128fe47095 (diff)
downloadprofani-tty-2f927523657fa3949c8b9d7365152b21f2ab2f0c.tar.gz
Added "read" parameter to /close
Closes all windows where there are no unread messages
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r--src/ui/ui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h
index 83441311..e165b353 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -79,6 +79,7 @@ win_type_t ui_win_type(int index);
 char * ui_recipient(int index);
 void ui_close_win(int index);
 gboolean ui_win_exists(int index);
+int ui_win_unread(int index);
 
 // ui events
 void ui_contact_typing(const char * const from);