summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/sametime/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/!NotAdopted/sametime/options.h')
-rw-r--r--plugins/!NotAdopted/sametime/options.h44
1 files changed, 44 insertions, 0 deletions
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