Wolfgang Rosenauer 2016-04-29 06:30:10 +00:00 committed by Git OBS Bridge
parent 9a29a52fb9
commit a5366a93b9

View File

@ -1551,7 +1551,7 @@ diff --git a/browser/components/shell/nsKDEShellService.h b/browser/components/s
new file mode 100644 new file mode 100644
--- /dev/null --- /dev/null
+++ b/browser/components/shell/nsKDEShellService.h +++ b/browser/components/shell/nsKDEShellService.h
@@ -0,0 +1,29 @@ @@ -0,0 +1,30 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* This Source Code Form is subject to the terms of the Mozilla Public +/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this + * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -1560,16 +1560,17 @@ new file mode 100644
+#ifndef nskdeshellservice_h____ +#ifndef nskdeshellservice_h____
+#define nskdeshellservice_h____ +#define nskdeshellservice_h____
+ +
+#include "nsIShellService.h" +#include "nsIGNOMEShellService.h"
+#include "nsStringAPI.h" +#include "nsStringAPI.h"
+#include "mozilla/Attributes.h" +#include "mozilla/Attributes.h"
+ +
+class nsKDEShellService final : public nsIShellService +class nsKDEShellService final : public nsIGNOMEShellService
+{ +{
+public: +public:
+ nsKDEShellService() : mCheckedThisSession(false) { } + nsKDEShellService() : mCheckedThisSession(false) { }
+ +
+ NS_DECL_ISUPPORTS + NS_DECL_ISUPPORTS
+ NS_DECL_NSIGNOMESHELLSERVICE
+ NS_DECL_NSISHELLSERVICE + NS_DECL_NSISHELLSERVICE
+ +
+ nsresult Init(); + nsresult Init();
@ -1622,7 +1623,7 @@ new file mode 100644
+#ifndef nsunixshellservice_h____ +#ifndef nsunixshellservice_h____
+#define nsunixshellservice_h____ +#define nsunixshellservice_h____
+ +
+#include "nsIShellService.h" +#include "nsIGNOMEShellService.h"
+ +
+NS_METHOD +NS_METHOD
+nsUnixShellServiceConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult); +nsUnixShellServiceConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult);