summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/gg.h
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-01-20 16:25:13 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-01-20 16:37:39 +0100
commit087173d06f4848f19d186b6902d399ce9b7225e1 (patch)
tree0cb2330486f445a2fa56c6da3a2d7ee983df6f52 /protocols/Gadu-Gadu/src/gg.h
parentde12828fb9051fba1db1e4573cff56ee83ab6b1f (diff)
Gadu-Gadu: code cleaning
Diffstat (limited to 'protocols/Gadu-Gadu/src/gg.h')
-rw-r--r--protocols/Gadu-Gadu/src/gg.h25
1 files changed, 9 insertions, 16 deletions
diff --git a/protocols/Gadu-Gadu/src/gg.h b/protocols/Gadu-Gadu/src/gg.h
index 2a2bc879a4..5be2a69f04 100644
--- a/protocols/Gadu-Gadu/src/gg.h
+++ b/protocols/Gadu-Gadu/src/gg.h
@@ -31,8 +31,6 @@
#endif
// Windows headers
-// Visual C++ .NET tries to include winsock.h
-// which is very ver bad
#include <winsock2.h>
#include <commctrl.h>
#include <commdlg.h>
@@ -43,7 +41,7 @@
#include <time.h>
#include <sys/stat.h>
-// Miranda IM headers
+// Miranda NG headers
#include <newpluginapi.h>
#include <m_system.h>
#include <m_database.h>
@@ -69,18 +67,13 @@
#include <m_chat.h>
#include <m_popup.h>
#include <win2k.h>
-
-// Custom profile folders plugin header
-#include "m_folders.h"
-
-// Visual C++ extras
-#define GGINLINE
+#include <m_folders.h>
// Plugin headers
#include "resource.h"
// libgadu headers
-#include "libgadu/libgadu.h"
+#include "libgadu.h"
#include "dynstuff.h"
// Search
@@ -90,25 +83,25 @@ struct GGSEARCHRESULT : public PROTOSEARCHRESULT
uin_t uin;
};
-typedef struct
+struct GGTHREAD
{
HANDLE hThread;
UINT dwThreadId;
-} GGTHREAD;
+};
-typedef struct
+struct GGGC
{
uin_t *recipients;
int recipients_count;
wchar_t id[32];
BOOL ignore;
-} GGGC;
+};
-typedef struct
+struct GGTOKEN
{
char id[256];
char val[256];
-} GGTOKEN;
+};
struct GGREQUESTAVATARDATA
{