mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
added GetNative method
This commit is contained in:
parent
176be5581f
commit
0ccf0a87e4
@ -25,7 +25,7 @@
|
||||
//
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
void nsAppShell::Create()
|
||||
void nsAppShell::Create(int* argc, char ** argv)
|
||||
{
|
||||
}
|
||||
|
||||
@ -100,3 +100,15 @@ nsresult nsAppShell::QueryObject(const nsIID& aIID, void** aInstancePtr)
|
||||
|
||||
return result;
|
||||
}
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
// GetNativeData
|
||||
//
|
||||
//-------------------------------------------------------------------------
|
||||
void* nsAppShell::GetNativeData(PRUint32 aDataType)
|
||||
{
|
||||
if (aDataType == NS_NATIVE_SHELL) {
|
||||
return NULL;
|
||||
}
|
||||
return nsnull;
|
||||
}
|
@ -40,10 +40,12 @@ class nsAppShell : public nsIAppShell, public nsObject
|
||||
|
||||
// nsIAppShellInterface
|
||||
|
||||
virtual void Create();
|
||||
virtual void Create(int* argc, char ** argv);
|
||||
virtual nsresult Run();
|
||||
virtual void SetDispatchListener(nsDispatchListener* aDispatchListener);
|
||||
virtual void Exit();
|
||||
virtual void* GetNativeData(PRUint32 aDataType);
|
||||
|
||||
private:
|
||||
nsDispatchListener* mDispatchListener;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user