diff options
author | James Booth <boothj5@gmail.com> | 2015-05-04 21:38:19 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-05-04 21:38:19 +0100 |
commit | 8ccbeade44f7929d7ec77b2f0a6198bd95432f0f (patch) | |
tree | 35026f05e523ee4d9fa373e9ef18d97eb382104e /src/ui/window.h | |
parent | a0c872edf85d98d237200ada08a97705a1e18e7f (diff) | |
download | profani-tty-8ccbeade44f7929d7ec77b2f0a6198bd95432f0f.tar.gz |
Added enc_mode to ProfChatWin
Diffstat (limited to 'src/ui/window.h')
-rw-r--r-- | src/ui/window.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ui/window.h b/src/ui/window.h index 650df67f..d5e57971 100644 --- a/src/ui/window.h +++ b/src/ui/window.h @@ -99,6 +99,11 @@ typedef enum { WIN_XML } win_type_t; +typedef enum { + PROF_ENC_NONE, + PROF_ENC_OTR +} prof_enc_t; + typedef struct prof_win_t { win_type_t type; ProfLayout *layout; @@ -113,7 +118,7 @@ typedef struct prof_chat_win_t { char *barejid; int unread; ChatState *state; - gboolean is_otr; + prof_enc_t enc_mode; gboolean is_trusted; char *resource_override; gboolean history_shown; |