New and improved
git-svn-id: svn://10.0.0.236/trunk@31416 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -49,7 +49,8 @@
|
||||
{ 0xcfc599f0, 0x4ca, 0x11d3, { 0x80, 0x68, 0x0, 0x60, 0x8, 0x11, 0xa9, 0xc3 } }
|
||||
|
||||
// Implementation of the sample app shell component interface.
|
||||
class nsSampleAppShellComponent : public nsISampleAppShellComponent {
|
||||
class nsSampleAppShellComponent : public nsISampleAppShellComponent,
|
||||
public nsAppShellComponentImpl {
|
||||
public:
|
||||
NS_DEFINE_STATIC_CID_ACCESSOR( NS_SAMPLEAPPSHELLCOMPONENT_CID );
|
||||
|
||||
@@ -71,7 +72,6 @@ public:
|
||||
|
||||
private:
|
||||
// Data members and implemention functions go here.
|
||||
nsCOMPtr<nsIAppShellService> mAppShell;
|
||||
|
||||
// Objects of this class are counted to manage library unloading...
|
||||
nsInstanceCounter instanceCounter;
|
||||
@@ -85,14 +85,6 @@ nsSampleAppShellComponent::DoDialogTests() {
|
||||
return rv;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsSampleAppShellComponent::Initialize( nsIAppShellService *anAppShell,
|
||||
nsICmdLineService *aCmdLineService ) {
|
||||
nsresult rv = NS_OK;
|
||||
mAppShell = dont_QueryInterface( anAppShell );
|
||||
return rv;
|
||||
}
|
||||
|
||||
// Generate base nsIAppShellComponent implementation.
|
||||
NS_IMPL_IAPPSHELLCOMPONENT( nsSampleAppShellComponent,
|
||||
nsISampleAppShellComponent,
|
||||
|
||||
Reference in New Issue
Block a user