added GetNative method

This commit is contained in:
rods 1998-06-04 18:59:53 +00:00
parent 176be5581f
commit 0ccf0a87e4
2 changed files with 16 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
};