diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2008-06-03 13:27:13 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2008-06-03 13:27:13 +0000 |
commit | 964a7089f8a243fed81b9fc293512c7e2be6ce18 (patch) | |
tree | 4c81ec9feacd624190965318061c8fdaab8ae08a /sametime/options.h | |
parent | 60cbe2d6c7d0a0b9dafce40d9d9ecdc868c4c49b (diff) |
import sametime plugin source
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@412 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'sametime/options.h')
-rw-r--r-- | sametime/options.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sametime/options.h b/sametime/options.h new file mode 100644 index 0000000..6c6a7bf --- /dev/null +++ b/sametime/options.h @@ -0,0 +1,43 @@ +#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;
+} 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
|