diff options
author | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-17 18:46:23 +0000 |
---|---|---|
committer | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-17 18:46:23 +0000 |
commit | b880db8491271b4bd4aa87c2dd79b5e3c3dde6cf (patch) | |
tree | b4e7c071826a2c1cc45bd0b253a76764e5194c4e /skype/gchat.h | |
parent | 2f10a9e6cc4782d61f0f15bbff36209af922bd34 (diff) |
added: ieview, imo2sproxy, skype
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@175 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'skype/gchat.h')
-rw-r--r-- | skype/gchat.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/skype/gchat.h b/skype/gchat.h new file mode 100644 index 0000000..5e055f1 --- /dev/null +++ b/skype/gchat.h @@ -0,0 +1,46 @@ +// m_chat users these BaseTSD types, so if we are compiling with an old PSDK, these typedefs
+// are not there, so better define them, just in case...
+#ifndef LongToPtr
+#define DWORD_PTR DWORD
+#endif
+
+#pragma warning (push)
+#pragma warning (disable: 4201) // nonstandard extension used : nameless struct/union
+#include "../../include/m_chat.h"
+#pragma warning (pop)
+
+#define MAX_BUF 256 // Buffer for topic-string
+
+typedef struct {
+ HANDLE hContact;
+ TCHAR szRole[12];
+} gchat_contact;
+
+typedef struct {
+ TCHAR* szChatName; // name of chat session
+ gchat_contact* mJoinedContacts; // contacts
+ int mJoinedCount; // contacts count
+} gchat_contacts;
+
+int ChatInit(WPARAM, LPARAM);
+int __cdecl ChatStart(char *szChatId, BOOL bJustCreate);
+gchat_contacts *GetChat(TCHAR *szChatId);
+HANDLE find_chat(TCHAR *chatname);
+#ifdef _UNICODE
+HANDLE find_chatA(char *chatname);
+#else
+#define find_chatA find_chat
+#endif
+void RemChatContact(gchat_contacts*, HANDLE);
+gchat_contact *GetChatContact(gchat_contacts *gc, HANDLE hContact);
+int AddMembers(char*);
+void AddMembersThread(char *szSkypeMsg);
+void RemChat(TCHAR *szChatId);
+int GCEventHook (WPARAM, LPARAM);
+int GCMenuHook (WPARAM, LPARAM);
+void KillChatSession(GCDEST*);
+INT_PTR GCOnLeaveChat(WPARAM wParam,LPARAM lParam);
+INT_PTR GCOnJoinChat(WPARAM wParam,LPARAM lParam);
+void GCInit(void);
+void GCExit(void);
+void SetChatTopic (TCHAR *szChatId, TCHAR *szTopic, BOOL bSet);
|