From 0e80ad0d4c150fa947849cdad07a7d0d34d7340e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Mon, 18 Nov 2013 20:37:19 +0000 Subject: Add sametime protocol sources (not adopted) git-svn-id: http://svn.miranda-ng.org/main/trunk@6935 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/!NotAdopted/sametime/options.h | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 plugins/!NotAdopted/sametime/options.h (limited to 'plugins/!NotAdopted/sametime/options.h') diff --git a/plugins/!NotAdopted/sametime/options.h b/plugins/!NotAdopted/sametime/options.h new file mode 100644 index 0000000000..b5569c0e52 --- /dev/null +++ b/plugins/!NotAdopted/sametime/options.h @@ -0,0 +1,44 @@ +#ifndef _OPTIONS_INC +#define _OPTIONS_INC + +#include "common.h" +#include "session.h" +#include "userlist.h" +#include "utils.h" + +#include "resource.h" + +#define LSTRINGLEN 256 + +typedef enum {ED_MB, ED_POP, ED_BAL} ErrorDisplay; +typedef enum {CPT_USER, CPT_ANSI, CPT_UTF8, CPT_OEM, CPT_UTF7} CodePageType; + +typedef struct Options_tag { + char server_name[LSTRINGLEN]; + char id[LSTRINGLEN]; + char pword[LSTRINGLEN]; + int port; + bool get_server_contacts; + int client_id; + ErrorDisplay err_method; + bool add_contacts; + bool encrypt_session; + bool idle_as_away; + bool use_old_default_client_ver; +} Options; + +extern Options options; + +#define DEFAULT_PORT 1533 + +BOOL CALLBACK DlgProcOptNet(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); + +int OptInit(WPARAM wParam,LPARAM lParam); +void LoadOptions(); +void SaveOptions(); + +extern HWND hWndOptions; + +#define WMU_STORECOMPLETE (WM_USER + 110) + +#endif -- cgit v1.2.3