feisty meow concerns codebase  2.140
event_extensions.h
Go to the documentation of this file.
1 #ifndef EVENT_EXTENSIONS_CLASS
2 #define EVENT_EXTENSIONS_CLASS
3 
4 /*****************************************************************************\
5 * *
6 * Name : event_extensions *
7 * Author : Chris Koeritz *
8 * *
9 *******************************************************************************
10 * Copyright (c) 1995-$now By Author. This program is free software; you can *
11 * redistribute it and/or modify it under the terms of the GNU General Public *
12 * License as published by the Free Software Foundation; either version 2 of *
13 * the License or (at your option) any later version. This is online at: *
14 * http://www.fsf.org/copyleft/gpl.html *
15 * Please send any updates to: fred@gruntose.com *
16 \*****************************************************************************/
17 
19 
20 #ifdef __WIN32__
21 
22 #include "opsysdll.h"
23 
24 #include <basis/istring.h>
25 #include <basis/portable.h>
26 
27 class OPSYSTEM_CLASS_STYLE event_extensions
28 {
29 public:
30  static bool poll();
32 
36  static bool poll(MSG &message);
38 
40  static bool poll(int wait);
42 
46  static bool poll_on_message(window_handle handle, UINT msg, int wait,
47  MSG &found);
49 
52  static bool poll_on_message_and_wparam(window_handle handle, UINT msg,
53  WPARAM wparam, int wait, MSG &found);
55 };
56 
57 #endif // win32.
58 
59 #endif // outer guard.
60 
void * window_handle