FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
WindowsEvent.h
1 /**********************************************************\
2 Original Author: Richard Bateman (taxilian)
3 
4 Created: Oct 19, 2009
5 License: Dual license model; choose one of two:
6  New BSD License
7  http://www.opensource.org/licenses/bsd-license.php
8  - or -
9  GNU Lesser General Public License, version 2.1
10  http://www.gnu.org/licenses/lgpl-2.1.html
11 
12 Copyright 2009 PacketPass, Inc and the Firebreath development team
13 \**********************************************************/
14 
15 #pragma once
16 #ifndef H_FB_EVENTS_WINDOWSEVENT
17 #define H_FB_EVENTS_WINDOWSEVENT
18 
19 #ifndef _WINDOWS
20 #define HWND void *
21 #else
22 #include "win_common.h"
23 #endif
24 
25 #include "PluginEvent.h"
26 
27 namespace FB {
28 
36  class WindowsEvent : public PluginEvent
37  {
38  public:
39  WindowsEvent(HWND hWnd, uint32_t msg, uint32_t wparam, long lparam, LRESULT & lres)
40  : hWnd(hWnd), uMsg(msg), wParam(wparam), lParam(lparam), lRes(lres)
41  { }
42 
43  public:
44  HWND hWnd;
45  uint32_t uMsg;
46  uint32_t wParam;
47  long lParam;
48  LRESULT & lRes;
49  };
50 };
51 
52 #endif
53 
Generic windows event. All windows events going through the winproc get first fired as a WindowEvent ...
Definition: WindowsEvent.h:36
Plugin event base class.
Definition: PluginEvent.h:36