summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/shell/nsGNOMEShellService.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-04-04 08:44:14 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-04-04 08:44:14 -0400
commit20cae79eb3ce238022056d104e2efcb03139f2e1 (patch)
tree6a3d4dba4d7829d5035e00ca809f52d4fc43a5e4 /application/palemoon/components/shell/nsGNOMEShellService.h
parent99831baf2e2d98caefbf1c7a212613ad5d6360a9 (diff)
downloadUXP-20cae79eb3ce238022056d104e2efcb03139f2e1.tar
UXP-20cae79eb3ce238022056d104e2efcb03139f2e1.tar.gz
UXP-20cae79eb3ce238022056d104e2efcb03139f2e1.tar.lz
UXP-20cae79eb3ce238022056d104e2efcb03139f2e1.tar.xz
UXP-20cae79eb3ce238022056d104e2efcb03139f2e1.zip
[PALEMOON] Wholesale steal Basilisk's shell component
Diffstat (limited to 'application/palemoon/components/shell/nsGNOMEShellService.h')
-rw-r--r--application/palemoon/components/shell/nsGNOMEShellService.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/application/palemoon/components/shell/nsGNOMEShellService.h b/application/palemoon/components/shell/nsGNOMEShellService.h
index 36a4a0c42..a7b003802 100644
--- a/application/palemoon/components/shell/nsGNOMEShellService.h
+++ b/application/palemoon/components/shell/nsGNOMEShellService.h
@@ -6,28 +6,28 @@
#ifndef nsgnomeshellservice_h____
#define nsgnomeshellservice_h____
-#include "nsIShellService.h"
+#include "nsIGNOMEShellService.h"
#include "nsStringAPI.h"
#include "mozilla/Attributes.h"
-class nsGNOMEShellService final : public nsIShellService
+class nsGNOMEShellService final : public nsIGNOMEShellService
{
public:
- nsGNOMEShellService() : mCheckedThisSession(false), mAppIsInPath(false) { }
+ nsGNOMEShellService() : mAppIsInPath(false) { }
NS_DECL_ISUPPORTS
NS_DECL_NSISHELLSERVICE
+ NS_DECL_NSIGNOMESHELLSERVICE
- nsresult Init() NS_HIDDEN;
+ nsresult Init();
private:
~nsGNOMEShellService() {}
- NS_HIDDEN_(bool) KeyMatchesAppName(const char *aKeyValue) const;
- NS_HIDDEN_(bool) CheckHandlerMatchesAppName(const nsACString& handler) const;
+ bool KeyMatchesAppName(const char *aKeyValue) const;
+ bool CheckHandlerMatchesAppName(const nsACString& handler) const;
- NS_HIDDEN_(bool) GetAppPathFromLauncher();
- bool mCheckedThisSession;
+ bool GetAppPathFromLauncher();
bool mUseLocaleFilenames;
nsCString mAppPath;
bool mAppIsInPath;