npn_allocateMenuID.
git-svn-id: svn://10.0.0.236/trunk@487 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3835,6 +3835,17 @@ void npn_unregisterwindow(NPP npp, void* window)
|
||||
#endif
|
||||
}
|
||||
|
||||
int16 npn_allocateMenuID(NPP npp, XP_Bool isSubmenu)
|
||||
{
|
||||
#ifdef XP_MAC
|
||||
if (npp) {
|
||||
np_instance* instance = (np_instance*) npp->ndata;
|
||||
return FE_AllocateMenuID(instance->app->fe_data, isSubmenu);
|
||||
}
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
XP_Bool
|
||||
npn_IsWindowless(np_handle* handle)
|
||||
{
|
||||
|
||||
@@ -195,6 +195,9 @@ npn_registerwindow(NPP npp, void* window);
|
||||
void NP_EXPORT
|
||||
npn_unregisterwindow(NPP npp, void* window);
|
||||
|
||||
int16 NP_EXPORT
|
||||
npn_allocateMenuID(NPP npp, XP_Bool isSubmenu);
|
||||
|
||||
#if defined(XP_MAC) && !defined(powerc)
|
||||
#pragma pointers_in_D0
|
||||
#endif
|
||||
@@ -406,6 +409,9 @@ public:
|
||||
|
||||
NS_IMETHOD_(void)
|
||||
UnregisterWindow(void* window);
|
||||
|
||||
NS_IMETHOD_(PRInt16)
|
||||
AllocateMenuID(PRBool isSubmenu);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// Methods specific to NPILiveConnectPluginInstancePeer:
|
||||
|
||||
Reference in New Issue
Block a user