diff options
author | Christopher Faylor <me@cgf.cx> | 2004-05-16 16:38:27 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-05-16 16:38:27 +0000 |
commit | fb4489a53f1f770ac7159fb38dceb480b99fb1cc (patch) | |
tree | 18a2e5c4f1fec5d63507222ef4b061e5a61a9dbd /winsup | |
parent | 32880f1e4a7f7bc44c262a98dcaa365bac5b09ee (diff) | |
download | newlib-fb4489a53f1f770ac7159fb38dceb480b99fb1cc.zip newlib-fb4489a53f1f770ac7159fb38dceb480b99fb1cc.tar.gz newlib-fb4489a53f1f770ac7159fb38dceb480b99fb1cc.tar.bz2 |
add missing file
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/wininfo.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/winsup/cygwin/wininfo.h b/winsup/cygwin/wininfo.h new file mode 100644 index 0000000..fd8fb52 --- /dev/null +++ b/winsup/cygwin/wininfo.h @@ -0,0 +1,32 @@ +/* wininfo.h: main Cygwin header file. + + Copyright 2004 Red Hat, Inc. + +This file is part of Cygwin. + +This software is a copyrighted work licensed under the terms of the +Cygwin license. Please consult the file "CYGWIN_LICENSE" for +details. */ + +class muto; +class wininfo +{ + HWND hwnd; + static muto *lock; +public: + UINT timer_active; + struct itimerval itv; + DWORD start_time; + HANDLE window_started; + operator HWND (); + int __stdcall wininfo::process (HWND, UINT, WPARAM, LPARAM) + __attribute__ ((regparm (3))); + int __stdcall setitimer (const struct itimerval *value, struct itimerval *oldvalue) + __attribute__ ((regparm (3))); + int __stdcall getitimer (struct itimerval *value) + __attribute__ ((regparm (2))); + wininfo (); + DWORD WINAPI winthread () __attribute__ ((regparm (1))); +}; + +extern wininfo winmsg; |