From 9c6d8a640911d336cc1e758310bbfccaf547d2d2 Mon Sep 17 00:00:00 2001 From: sje Date: Wed, 1 Nov 2006 14:40:04 +0000 Subject: git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@10 4f64403b-2f21-0410-a795-97e2b3489a10 --- otr/options.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 otr/options.h (limited to 'otr/options.h') diff --git a/otr/options.h b/otr/options.h new file mode 100644 index 0000000..475e566 --- /dev/null +++ b/otr/options.h @@ -0,0 +1,24 @@ +#ifndef _OPTIONS_INC +#define _OPTIONS_INC + +#define CONTACT_DEFAULT_POLICY 0xFFFF + +typedef enum {ED_POP, ED_BAL, ED_MB} ErrorDisplay; + +typedef struct { + OtrlPolicy default_policy; + ErrorDisplay err_method; + bool prefix_messages; + bool msg_inline; + char prefix[64]; + + bool delete_history; +} Options; + +extern Options options; + +int OptInit(WPARAM wParam, LPARAM lParam); + +void LoadOptions(); + +#endif -- cgit v1.2.3