ManifestParser.h 778 B

12345678910111213141516171819202122
  1. /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #ifndef ManifestParser_h
  6. #define ManifestParser_h
  7. #include "nsComponentManager.h"
  8. #include "nsChromeRegistry.h"
  9. #include "mozilla/FileLocation.h"
  10. void ParseManifest(NSLocationType aType, mozilla::FileLocation& aFile,
  11. char* aBuf, bool aChromeOnly, bool aXPTOnly = false);
  12. void LogMessage(const char* aMsg, ...);
  13. void LogMessageWithContext(mozilla::FileLocation& aFile,
  14. uint32_t aLineNumber, const char* aMsg, ...);
  15. #endif // ManifestParser_h