summaryrefslogtreecommitdiff
path: root/protocols/SkypeClassic/src/gchat.h
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2014-08-13 13:46:55 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2014-08-13 13:46:55 +0000
commit96674592dd3493682a6cccb0b3dcf8ca019fd7a4 (patch)
treef42a68584d07fc2fd4a70c5866181327471e8f53 /protocols/SkypeClassic/src/gchat.h
parent3cf0b793fe90993ff333ba53104796f0c280118a (diff)
Made SkypeClassic plugin compatible with Miranda IM again so that plugins for both IMs can be maintained with one codebase.
Compatibility wrapper for Miranda IM is in ng-compat/m_core.h Changed files back to C and removed C++ code. Changed Miranda NG project files so that the c files compile as C++ in order to be compatible with Miranda NG headers (/TP). Added back build scripts and make file to automatically build Miranda IM version using Makefile. git-svn-id: http://svn.miranda-ng.org/main/trunk@10177 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeClassic/src/gchat.h')
-rw-r--r--protocols/SkypeClassic/src/gchat.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/protocols/SkypeClassic/src/gchat.h b/protocols/SkypeClassic/src/gchat.h
index 91dcef43f4..82648c3e20 100644
--- a/protocols/SkypeClassic/src/gchat.h
+++ b/protocols/SkypeClassic/src/gchat.h
@@ -11,6 +11,11 @@
#define MAX_BUF 256 // Buffer for topic-string
+// In case this you compile for Miranda NG with a non-Tchar aware Groupchat plugin, null the flag out
+#ifndef GC_TCHAR
+#define GC_TCHAR 0
+#endif
+
typedef struct {
MCONTACT hContact;
TCHAR who[33];
@@ -44,4 +49,4 @@ INT_PTR GCOnLeaveChat(WPARAM wParam,LPARAM lParam);
INT_PTR GCOnJoinChat(WPARAM wParam,LPARAM lParam);
void GCInit(void);
void GCExit(void);
-void SetChatTopic (const TCHAR *szChatId, TCHAR *szTopic, BOOL bSet);
+void SetChatTopic (TCHAR *szChatId, TCHAR *szTopic, BOOL bSet);