15 #ifndef H_PLUGINEVENTMACCARBON
16 #define H_PLUGINEVENTMACCARBON
20 #include "PluginEventMac.h"
35 int16_t HandleEvent(
void* event);
36 EventModel getEventModel()
const {
return EventModelCarbon; }
39 Point GlobalToLocal(Point location);
40 bool isMouseOver(Point location);
42 void CarbonToNPCocoaEvent(
const EventRecord* evt, NPCocoaEvent& rval);
43 NPNSString* TranslateKeyEventRecord(
const EventRecord *event);
45 short m_old_h, m_old_v;
47 CFDataRef m_tisKeyLayoutData;
48 UInt32 m_deadKeyState;
49 #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1050
50 TISInputSourceRef m_tisInputSource;
55 #endif // NP_NO_CARBON
57 #endif // H_PLUGINEVENTMACCARBON
Mac OS X Carbon specific implementation of PluginEventMac.