This commit is contained in:
Родитель
392c448f01
Коммит
80bfbc6983
|
@ -288,6 +288,11 @@ NS_METHOD nsMenu::RemoveAll()
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_METHOD nsMenu::SetNativeData(void * aData)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_METHOD nsMenu::GetNativeData(void ** aData)
|
||||
{
|
||||
aData = (void **)mMenu;
|
||||
|
|
|
@ -71,6 +71,7 @@ public:
|
|||
NS_IMETHOD InsertItemAt(const PRUint32 aPos, nsISupports * aMenuItem);
|
||||
NS_IMETHOD RemoveItem(const PRUint32 aCount);
|
||||
NS_IMETHOD RemoveAll();
|
||||
NS_IMETHOD SetNativeData(void* aData);
|
||||
NS_IMETHOD GetNativeData(void** aData);
|
||||
NS_IMETHOD AddMenuListener(nsIMenuListener * aMenuListener);
|
||||
NS_IMETHOD RemoveMenuListener(nsIMenuListener * aMenuListener);
|
||||
|
|
|
@ -338,6 +338,11 @@ NS_METHOD nsMenu::RemoveAll()
|
|||
}
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
NS_METHOD nsMenu::SetNativeData(void * aData)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_METHOD nsMenu::GetNativeData(void ** aData)
|
||||
{
|
||||
PR_LOG(QtWidgetsLM, PR_LOG_DEBUG, ("nsMenu::GetNativeData()\n"));
|
||||
|
|
|
@ -70,6 +70,7 @@ public:
|
|||
NS_IMETHOD InsertSeparator(const PRUint32 aPos);
|
||||
NS_IMETHOD RemoveItem(const PRUint32 aPos);
|
||||
NS_IMETHOD RemoveAll();
|
||||
NS_IMETHOD SetNativeData(void* aData);
|
||||
NS_IMETHOD GetNativeData(void** aData);
|
||||
NS_IMETHOD AddMenuListener(nsIMenuListener * aMenuListener);
|
||||
NS_IMETHOD RemoveMenuListener(nsIMenuListener * aMenuListener);
|
||||
|
|
|
@ -153,6 +153,11 @@ NS_METHOD nsMenu::RemoveAll()
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_METHOD nsMenu::SetNativeData(void * aData)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_METHOD nsMenu::GetNativeData(void ** aData)
|
||||
{
|
||||
return NS_OK;
|
||||
|
|
|
@ -68,6 +68,7 @@ public:
|
|||
NS_IMETHOD RemoveItem(const PRUint32 aPos);
|
||||
NS_IMETHOD RemoveAll();
|
||||
NS_IMETHOD GetNativeData(void** aData);
|
||||
NS_IMETHOD SetNativeData(void* aData);
|
||||
|
||||
NS_IMETHOD AddMenuListener(nsIMenuListener * aMenuListener);
|
||||
NS_IMETHOD RemoveMenuListener(nsIMenuListener * aMenuListener);
|
||||
|
|
Загрузка…
Ссылка в новой задаче