FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
GeneralEvents.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_GENERALEVENTS
17 #define H_FB_EVENTS_GENERALEVENTS
18 
19 #include "PluginEvent.h"
20 
21 namespace FB {
22 
29  class TimerEvent : public PluginEvent
30  {
31  public:
32  TimerEvent(uint32_t timer_id, void *opaquePointer)
33  : timerId(timer_id), opaquePointer(opaquePointer)
34  { }
35 
36  public:
37  uint32_t timerId; // The ID of the timer
38  void *opaquePointer; // The opaque pointer associated with the timer
39  };
40 };
41 
42 #endif
43 
Fired when a timer event is received; currently this only works on windows and is fired when WM_TIMER...
Definition: GeneralEvents.h:29
Plugin event base class.
Definition: PluginEvent.h:36