diff options
author | Renato Filho <renato.filho@openbossa.org> | 2011-06-07 11:07:06 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:28 -0300 |
commit | 23d1e497d87ee9ba4b6aff96f65e67e91cc73705 (patch) | |
tree | c6ca9c7ba871ac0e0fc72900f17d11526120a8f5 /PySide/pysidewtypes.h | |
parent | 3e88ef1c54f54e9aca8c82b2519a4525a11c1fc1 (diff) |
Implemented support to MSG type on windows.
Diffstat (limited to 'PySide/pysidewtypes.h')
-rw-r--r-- | PySide/pysidewtypes.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PySide/pysidewtypes.h b/PySide/pysidewtypes.h new file mode 100644 index 000000000..4d9d4f0bb --- /dev/null +++ b/PySide/pysidewtypes.h @@ -0,0 +1,27 @@ +#ifndef __PYSIDEWTYPES__ +#define __PYSIDEWTYPES__ + +typedef struct HWND__ *HWND; +typedef unsigned UINT; +typedef long LONG; +typedef unsigned long DWORD; +typedef UINT WPARAM; +typedef LONG LPARAM; + +struct POINT +{ + LONG x; + LONG y; +}; + +struct MSG +{ + HWND hwnd; + UINT message; + WPARAM wParam; + LPARAM lParam; + DWORD time; + POINT pt; +}; + +#endif |