diff options
Diffstat (limited to 'WebKit/mac/Plugins/WebNetscapePluginPackage.h')
-rw-r--r-- | WebKit/mac/Plugins/WebNetscapePluginPackage.h | 40 |
1 files changed, 10 insertions, 30 deletions
diff --git a/WebKit/mac/Plugins/WebNetscapePluginPackage.h b/WebKit/mac/Plugins/WebNetscapePluginPackage.h index 6ccbfdb..010956d 100644 --- a/WebKit/mac/Plugins/WebNetscapePluginPackage.h +++ b/WebKit/mac/Plugins/WebNetscapePluginPackage.h @@ -52,26 +52,16 @@ typedef enum { ResFileRefNum resourceRef; - NPP_NewProcPtr NPP_New; - NPP_DestroyProcPtr NPP_Destroy; - NPP_SetWindowProcPtr NPP_SetWindow; - NPP_NewStreamProcPtr NPP_NewStream; - NPP_DestroyStreamProcPtr NPP_DestroyStream; - NPP_StreamAsFileProcPtr NPP_StreamAsFile; - NPP_WriteReadyProcPtr NPP_WriteReady; - NPP_WriteProcPtr NPP_Write; - NPP_PrintProcPtr NPP_Print; - NPP_HandleEventProcPtr NPP_HandleEvent; - NPP_URLNotifyProcPtr NPP_URLNotify; - NPP_GetValueProcPtr NPP_GetValue; - NPP_SetValueProcPtr NPP_SetValue; - NPP_ShutdownProcPtr NPP_Shutdown; - NPP_GetJavaClassProcPtr NPP_GetJavaClass; + NPP_ShutdownProcPtr NP_Shutdown; BOOL isLoaded; BOOL needsUnload; unsigned int instanceCount; - + +#if USE(PLUGIN_HOST_PROCESS) + cpu_type_t pluginHostArchitecture; +#endif + #ifdef SUPPORT_CFM BOOL isBundle; BOOL isCFM; @@ -85,21 +75,11 @@ typedef enum { - (void)close; - (WebExecutableType)executableType; - -- (NPP_NewProcPtr)NPP_New; -- (NPP_DestroyProcPtr)NPP_Destroy; -- (NPP_SetWindowProcPtr)NPP_SetWindow; -- (NPP_NewStreamProcPtr)NPP_NewStream; -- (NPP_WriteReadyProcPtr)NPP_WriteReady; -- (NPP_WriteProcPtr)NPP_Write; -- (NPP_StreamAsFileProcPtr)NPP_StreamAsFile; -- (NPP_DestroyStreamProcPtr)NPP_DestroyStream; -- (NPP_HandleEventProcPtr)NPP_HandleEvent; -- (NPP_URLNotifyProcPtr)NPP_URLNotify; -- (NPP_GetValueProcPtr)NPP_GetValue; -- (NPP_SetValueProcPtr)NPP_SetValue; -- (NPP_PrintProcPtr)NPP_Print; - (NPPluginFuncs *)pluginFuncs; +#if USE(PLUGIN_HOST_PROCESS) +- (cpu_type_t)pluginHostArchitecture; +#endif + @end #endif |