michael@0: /* -*- Mode: C++; tab-width: 8; 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 ManifestParser_h michael@0: #define ManifestParser_h michael@0: michael@0: #include "nsComponentManager.h" michael@0: #include "nsChromeRegistry.h" michael@0: #include "mozilla/FileLocation.h" michael@0: michael@0: class nsIFile; michael@0: michael@0: void ParseManifest(NSLocationType type, mozilla::FileLocation &file, michael@0: char* buf, bool aChromeOnly); michael@0: michael@0: void LogMessage(const char* aMsg, ...); michael@0: michael@0: void LogMessageWithContext(mozilla::FileLocation &aFile, michael@0: uint32_t aLineNumber, const char* aMsg, ...); michael@0: michael@0: #endif // ManifestParser_h