From 12c698bd7d29d0adc6cec971c3ddf1043833338d Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Wed, 21 Jun 2000 08:37:32 +0000 Subject: [PATCH] Bug #38374 --> NOT PART OF THE BUILD YET!!!! more unix updates for helper application support --- uriloader/exthandler/unix/nsOSHelperAppService.cpp | 4 ++-- uriloader/exthandler/unix/nsOSHelperAppService.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/uriloader/exthandler/unix/nsOSHelperAppService.cpp b/uriloader/exthandler/unix/nsOSHelperAppService.cpp index 0ad7b93c0269..56b347cc7dd8 100644 --- a/uriloader/exthandler/unix/nsOSHelperAppService.cpp +++ b/uriloader/exthandler/unix/nsOSHelperAppService.cpp @@ -92,7 +92,7 @@ nsresult nsExternalApplication::LaunchApplication(nsIFile * aTempFile) if (mApplicationToUse) { const char * strPath = (const char *) path; - mApplication->Spawn(&strPath, 1); + mApplicationToUse->Spawn(&strPath, 1); } else if (!mAppRegistryName.IsEmpty() && aTempFile) { @@ -121,7 +121,7 @@ nsresult nsExternalApplication::LaunchApplication(nsIFile * aTempFile) nsOSHelperAppService::nsOSHelperAppService() : nsExternalHelperAppService() { - //nsExternalHelperAppService::Init(); + nsExternalHelperAppService::Init(); } nsOSHelperAppService::~nsOSHelperAppService() diff --git a/uriloader/exthandler/unix/nsOSHelperAppService.h b/uriloader/exthandler/unix/nsOSHelperAppService.h index e5bf70e5b9f4..6050afdc8d86 100644 --- a/uriloader/exthandler/unix/nsOSHelperAppService.h +++ b/uriloader/exthandler/unix/nsOSHelperAppService.h @@ -56,7 +56,7 @@ public: // aApplicationToUse --> the application the user wishes to launch with the incoming data // aFileExtensionForData --> the extension we are going to use for the temp file in the external app handler // aStreamListener --> the stream listener (really a external app handler) we're going to use for retrieving the data - virtual nsresult CreateStreamListenerWithApp(nsIFile * aApplicationToUse, const char * aFileExtensionForData, nsIStreamListener ** aStreamListener);f + virtual nsresult CreateStreamListenerWithApp(nsIFile * aApplicationToUse, const char * aFileExtensionForData, nsIStreamListener ** aStreamListener); protected: