24
edits
| Line 20: | Line 20: | ||
#ifndef NP_NO_CARBON | #ifndef NP_NO_CARBON | ||
, NPNVsupportsCarbonBool = | , NPNVsupportsCarbonBool = 3000 /* TRUE if the browser supports the Carbon event model */ | ||
#endif | #endif | ||
, NPNVsupportsCocoaBool = | , 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: | ||
edits