summaryrefslogtreecommitdiffstats
path: root/comm/suite/components/shell/nsGNOMEShellService.h
diff options
context:
space:
mode:
Diffstat (limited to 'comm/suite/components/shell/nsGNOMEShellService.h')
-rw-r--r--comm/suite/components/shell/nsGNOMEShellService.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/comm/suite/components/shell/nsGNOMEShellService.h b/comm/suite/components/shell/nsGNOMEShellService.h
index 7d43b51..558663a 100644
--- a/comm/suite/components/shell/nsGNOMEShellService.h
+++ b/comm/suite/components/shell/nsGNOMEShellService.h
@@ -11,12 +11,10 @@
#include "mozilla/Attributes.h"
#include "nsSuiteCID.h"
-struct ProtocolAssociation;
-
class nsGNOMEShellService final : public nsIGNOMEShellService
{
public:
- nsGNOMEShellService() {};
+ nsGNOMEShellService() : mAppIsInPath(false) {}
NS_DECL_ISUPPORTS
NS_DECL_NSISHELLSERVICE
@@ -27,8 +25,9 @@ public:
private:
~nsGNOMEShellService() {}
- bool HandlerMatchesAppName(const char* aHandler);
+ bool CheckHandlerMatchesAppName(const nsACString& handler) const;
+ bool GetAppPathFromLauncher();
bool mUseLocaleFilenames;
nsCString mAppPath;
bool mAppIsInPath;