NPAPI:CocoaEventModel: Difference between revisions

Jump to navigation Jump to search
m
Line 20: Line 20:


  #ifndef NP_NO_CARBON
  #ifndef NP_NO_CARBON
     , NPNVsupportsCarbonBool = 2003 /* TRUE if the browser supports the Carbon event model */
     , NPNVsupportsCarbonBool = 3000 /* TRUE if the browser supports the Carbon event model */
  #endif
  #endif
     , NPNVsupportsCocoaBool = 2004 /* TRUE if the browser supports the Cocoa event model */
     , NPNVsupportsCocoaBool = 3001 /* TRUE if the browser supports the Cocoa event model */


Once the plug-in finds a supported event model, it calls NPN_SetValue to tell the browser which event model it has. We're adding a new NPNVariable for this:
Once the plug-in finds a supported event model, it calls NPN_SetValue to tell the browser which event model it has. We're adding a new NPNVariable for this:
24

edits

Navigation menu