NPAPI:CocoaEventModel: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 11: Line 11:
== Overview ==
== Overview ==


We're introducing the concept of the "event model" for Mac plug-ins. This is similar to the already existing concept of drawing models.  
The Cocoa event model is an alternative event model for 32-bit Mac OS X plugins and the default event model for 64-bit Mac OS X plugins.


== Event model negotiation ==
== Event model negotiation ==
Line 19: Line 19:
* NPEventModelCocoa
* NPEventModelCocoa
* NPNVsupportsCocoaBool
* NPNVsupportsCocoaBool
== The Carbon event model ==
The Carbon event model is the event model used by all plug-ins today. If a plug-in does not negotiate an event model, the Carbon event model is used.
In 64-bit, the Carbon event model does not exist, and the Cocoa event model is used if the plug-in does not negotiate an event model.


== The Cocoa event model ==
== The Cocoa event model ==
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits

Navigation menu