diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-28 18:51:21 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-28 18:51:21 +0000 |
commit | 6f585711fa09225acea8dd58f72c24535c10cb00 (patch) | |
tree | e3d4fa28eb50c05d73f9bad4b7fe9cb6c4b9669c /protocols/GTalkExt/src/options.h | |
parent | c72a0b6171fca66ba363ec7148a1cc03459a0c2f (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@6262 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/GTalkExt/src/options.h')
-rw-r--r-- | protocols/GTalkExt/src/options.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/protocols/GTalkExt/src/options.h b/protocols/GTalkExt/src/options.h index ff9c2327e2..b26f21b277 100644 --- a/protocols/GTalkExt/src/options.h +++ b/protocols/GTalkExt/src/options.h @@ -23,16 +23,17 @@ #include "resources.h"
-static const LPTSTR MAIL_NOTIFICATIONS = LPGENT("GMail notifications");
-static const LPTSTR FULL_NOTIFICATION_FORMAT = LPGENT("subject\n %s\nfrom\n%s\n%s\n");
-static const LPTSTR SHORT_NOTIFICATION_FORMAT = LPGENT("subject\n %s\nfrom\n%s");
+#define JABBER_FEAT_GTALK_PMUC _T("http://www.google.com/xmpp/protocol/pmuc/v1")
-static const LPSTR PSEUDOCONTACT_LINK = "GTalkExtNotifyContact";
-static const LPSTR PSEUDOCONTACT_FLAG = "IsNotifyContact";
-static const LPSTR BACK_COLOR_SETTING = "BackColor";
-static const LPSTR TEXT_COLOR_SETTING = "TextColor";
-static const LPSTR TIMEOUT_SETTING = "Timeout";
+#define MAIL_NOTIFICATIONS LPGENT("GMail notifications")
+#define FULL_NOTIFICATION_FORMAT LPGENT("subject\n %s\nfrom\n%s\n%s\n")
+#define SHORT_NOTIFICATION_FORMAT LPGENT("subject\n %s\nfrom\n%s")
+
+#define PSEUDOCONTACT_LINK "GTalkExtNotifyContact"
+#define PSEUDOCONTACT_FLAG "IsNotifyContact"
+#define BACK_COLOR_SETTING "BackColor"
+#define TEXT_COLOR_SETTING "TextColor"
+#define TIMEOUT_SETTING "Timeout"
-void HookOptionsInitialization();
DWORD ReadCheckboxes(HWND wnd, LPCSTR mod);
BOOL ReadCheckbox(HWND wnd, int id, DWORD controls);
\ No newline at end of file |