event_extensions.h

Go to the documentation of this file.
00001 #ifndef EVENT_EXTENSIONS_CLASS
00002 #define EVENT_EXTENSIONS_CLASS
00003 
00004 /*****************************************************************************\
00005 *                                                                             *
00006 *  Name   : event_extensions                                                  *
00007 *  Author : Chris Koeritz                                                     *
00008 *                                                                             *
00009 *******************************************************************************
00010 * Copyright (c) 1995-$now By Author.  This program is free software; you can  *
00011 * redistribute it and/or modify it under the terms of the GNU General Public  *
00012 * License as published by the Free Software Foundation; either version 2 of   *
00013 * the License or (at your option) any later version.  This is online at:      *
00014 *     http://www.fsf.org/copyleft/gpl.html                                    *
00015 * Please send any updates to: fred@gruntose.com                               *
00016 \*****************************************************************************/
00017 
00019 
00020 #ifdef __WIN32__
00021 
00022 #include "opsysdll.h"
00023 
00024 #include <basis/istring.h>
00025 #include <basis/portable.h>
00026 
00027 class OPSYSTEM_CLASS_STYLE event_extensions
00028 {
00029 public:
00030   static bool poll();
00032 
00036   static bool poll(MSG &message);
00038 
00040   static bool poll(int wait);
00042 
00046   static bool poll_on_message(window_handle handle, UINT msg, int wait,
00047         MSG &found);
00049 
00052   static bool poll_on_message_and_wparam(window_handle handle, UINT msg,
00053         WPARAM wparam, int wait, MSG &found);
00055 };
00056 
00057 #endif  // win32.
00058 
00059 #endif  // outer guard.
00060 

Generated on Fri Nov 28 04:29:22 2008 for HOOPLE Libraries by  doxygen 1.5.1