xpcom/base/nsMacUtilsImpl.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 5
michael@0 6 #ifndef nsMacUtilsImpl_h___
michael@0 7 #define nsMacUtilsImpl_h___
michael@0 8
michael@0 9 #include "nsIMacUtils.h"
michael@0 10 #include "nsString.h"
michael@0 11 #include "mozilla/Attributes.h"
michael@0 12
michael@0 13 class nsMacUtilsImpl MOZ_FINAL : public nsIMacUtils
michael@0 14 {
michael@0 15 public:
michael@0 16 NS_DECL_ISUPPORTS
michael@0 17 NS_DECL_NSIMACUTILS
michael@0 18
michael@0 19 nsMacUtilsImpl() {}
michael@0 20
michael@0 21 private:
michael@0 22 ~nsMacUtilsImpl() {}
michael@0 23
michael@0 24 nsresult GetArchString(nsAString& archString);
michael@0 25
michael@0 26 // A string containing a "-" delimited list of architectures
michael@0 27 // in our binary.
michael@0 28 nsString mBinaryArchs;
michael@0 29 };
michael@0 30
michael@0 31 // Global singleton service
michael@0 32 // 697BD3FD-43E5-41CE-AD5E-C339175C0818
michael@0 33 #define NS_MACUTILSIMPL_CID \
michael@0 34 {0x697BD3FD, 0x43E5, 0x41CE, {0xAD, 0x5E, 0xC3, 0x39, 0x17, 0x5C, 0x08, 0x18}}
michael@0 35 #define NS_MACUTILSIMPL_CONTRACTID "@mozilla.org/xpcom/mac-utils;1"
michael@0 36
michael@0 37 #endif /* nsMacUtilsImpl_h___ */

mercurial