diff options
author | ghazan <ghazan@miranda.im> | 2021-12-19 17:45:07 +0300 |
---|---|---|
committer | ghazan <ghazan@miranda.im> | 2021-12-19 17:45:07 +0300 |
commit | c8fbefe8f38a74bfaea88a195c71a6e0c94c7a6a (patch) | |
tree | a71cf68d4474a01a03ef219753f283706ad2519a | |
parent | 0ea58a3f52fbebe2532e2b19a08b1a0422d7296e (diff) |
Miranda.h - first version that compiles under Linux
-rw-r--r-- | include/m_types.h | 5 | ||||
-rw-r--r-- | src/mir_app/src/miranda.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/include/m_types.h b/include/m_types.h index 73aa902cc7..8538f6c2f2 100644 --- a/include/m_types.h +++ b/include/m_types.h @@ -56,7 +56,7 @@ typedef uint8_t BYTE; typedef uint16_t WORD; typedef uint32_t DWORD, UINT, COLORREF; typedef intptr_t WPARAM, LPARAM, INT_PTR; -typedef uintptr_t UINT_PTR, LRESULT; +typedef uintptr_t UINT_PTR, DWORD_PTR, LRESULT; typedef char *LPSTR; typedef const char *LPCSTR; typedef wchar_t *LPWSTR, *LPTSTR; @@ -66,6 +66,9 @@ typedef sockaddr_in SOCKADDR_IN; struct RECT { int left, top, right, bottom; }; struct POINT { int x, y; }; struct SIZE { int width, height; }; +struct MSG; +struct LOGFONTA; +struct LOGFONTW; #define MIR_EXPORT __attribute__((__visibility__("default"))) #define MIR_IMPORT diff --git a/src/mir_app/src/miranda.h b/src/mir_app/src/miranda.h index dcf7b9d8fe..940751218c 100644 --- a/src/mir_app/src/miranda.h +++ b/src/mir_app/src/miranda.h @@ -174,7 +174,10 @@ INT_PTR stubChainRecv(WPARAM, LPARAM); BOOL IsAeroMode();
+#ifdef _WINDOWS
bool ProcessFileDrop(HDROP hDrop, MCONTACT hContact);
+#endif
+
void RegisterModule(CMPluginBase*);
void HotkeyToName(wchar_t *buf, int size, BYTE shift, BYTE key);
|