зеркало из https://github.com/mozilla/pjs.git
added client routine
This commit is contained in:
Родитель
88e1463b76
Коммит
d2c67220b8
|
@ -178,6 +178,7 @@ nsWindow::nsWindow(nsISupports *aOuter):
|
|||
mDisplayed = PR_FALSE;
|
||||
mLowerLeft = PR_FALSE;
|
||||
mCursor = eCursor_standard;
|
||||
mClientData = nsnull;
|
||||
}
|
||||
|
||||
|
||||
|
@ -392,6 +393,23 @@ void nsWindow::Destroy()
|
|||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
// Accessor functions to get/set the client data
|
||||
//
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
NS_IMETHODIMP nsWindow::GetClientData(void*& aClientData)
|
||||
{
|
||||
aClientData = mClientData;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsWindow::SetClientData(void* aClientData)
|
||||
{
|
||||
mClientData = aClientData;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
|
|
Загрузка…
Ссылка в новой задаче