michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsMacUtilsImpl_h___ michael@0: #define nsMacUtilsImpl_h___ michael@0: michael@0: #include "nsIMacUtils.h" michael@0: #include "nsString.h" michael@0: #include "mozilla/Attributes.h" michael@0: michael@0: class nsMacUtilsImpl MOZ_FINAL : public nsIMacUtils michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIMACUTILS michael@0: michael@0: nsMacUtilsImpl() {} michael@0: michael@0: private: michael@0: ~nsMacUtilsImpl() {} michael@0: michael@0: nsresult GetArchString(nsAString& archString); michael@0: michael@0: // A string containing a "-" delimited list of architectures michael@0: // in our binary. michael@0: nsString mBinaryArchs; michael@0: }; michael@0: michael@0: // Global singleton service michael@0: // 697BD3FD-43E5-41CE-AD5E-C339175C0818 michael@0: #define NS_MACUTILSIMPL_CID \ michael@0: {0x697BD3FD, 0x43E5, 0x41CE, {0xAD, 0x5E, 0xC3, 0x39, 0x17, 0x5C, 0x08, 0x18}} michael@0: #define NS_MACUTILSIMPL_CONTRACTID "@mozilla.org/xpcom/mac-utils;1" michael@0: michael@0: #endif /* nsMacUtilsImpl_h___ */