FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
X11Event.h
1 /**********************************************************\
2 License: Dual license model; choose one of two:
3  New BSD License
4  http://www.opensource.org/licenses/bsd-license.php
5  - or -
6  GNU Lesser General Public License, version 2.1
7  http://www.gnu.org/licenses/lgpl-2.1.html
8 
9 Copyright 2009 PacketPass, Inc and the Firebreath development team
10 \**********************************************************/
11 
12 #pragma once
13 #ifndef H_FB_EVENTS_X11EVENT
14 #define H_FB_EVENTS_X11EVENT
15 
16 struct _GtkWidget;
17 typedef struct _GtkWidget GtkWidget;
18 union _GdkEvent;
19 typedef union _GdkEvent GdkEvent;
20 #include "PluginEvent.h"
21 
22 namespace FB {
23 
32  class X11Event : public PluginEvent
33  {
34  public:
35  X11Event(GtkWidget *widget, GdkEvent *event) : m_widget(widget), m_event(event)
36  {
37  }
38 
39  public:
40  GtkWidget *m_widget;
41  GdkEvent *m_event;
42  };
43 };
44 
45 #endif
46 
Generic X11 event.
Definition: X11Event.h:32
Plugin event base class.
Definition: PluginEvent.h:36