diff --git a/widget/src/windows/nsAppShell.cpp b/widget/src/windows/nsAppShell.cpp index 519de2f8618e..e312d77fa29d 100644 --- a/widget/src/windows/nsAppShell.cpp +++ b/widget/src/windows/nsAppShell.cpp @@ -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; +} \ No newline at end of file diff --git a/widget/src/windows/nsAppShell.h b/widget/src/windows/nsAppShell.h index 049341a34d66..eea295abd655 100644 --- a/widget/src/windows/nsAppShell.h +++ b/widget/src/windows/nsAppShell.h @@ -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; };