FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
PluginEventMacCocoa.h
1 /**********************************************************\
2 Original Author: Anson MacKeracher
3 
4 Created: Mar 26, 2010
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 2010 Anson MacKeracher, Firebreath development team
13 \**********************************************************/
14 
15 #ifndef H_PLUGINEVENTMACCOCOA
16 #define H_PLUGINEVENTMACCOCOA
17 
18 #include "PluginEventMac.h"
19 
20 namespace FB {
21 
27  class PluginEventMacCocoa : public PluginEventMac {
28  public:
30  virtual ~PluginEventMacCocoa();
31 
32  int16_t HandleEvent(void* event);
33  EventModel getEventModel() const { return EventModelCocoa; }
34 
35  protected:
36  int16_t ProcessModifiers(uint32_t modifierFlags);
37 
38  private:
39  uint32_t m_lastModifierFlags;
40  };
41 };
42 
43 #endif // H_PLUGINEVENTMACCOCOA
Mac OS X Cocoa specific implementation of PluginEventMac.