2010-06-11 13:13:26 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* 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
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2010-06-11 13:13:26 -07:00
|
|
|
|
|
|
|
#ifndef ManifestParser_h
|
|
|
|
#define ManifestParser_h
|
|
|
|
|
|
|
|
#include "nsComponentManager.h"
|
|
|
|
#include "nsChromeRegistry.h"
|
2011-11-08 09:10:51 -08:00
|
|
|
#include "mozilla/FileLocation.h"
|
2010-06-11 13:13:26 -07:00
|
|
|
|
2012-06-05 19:08:30 -07:00
|
|
|
class nsIFile;
|
2010-06-11 13:13:26 -07:00
|
|
|
|
2011-11-08 09:10:51 -08:00
|
|
|
void ParseManifest(NSLocationType type, mozilla::FileLocation &file,
|
2010-07-02 06:53:19 -07:00
|
|
|
char* buf, bool aChromeOnly);
|
|
|
|
|
2010-06-28 10:55:57 -07:00
|
|
|
void LogMessage(const char* aMsg, ...);
|
|
|
|
|
2011-11-08 09:10:51 -08:00
|
|
|
void LogMessageWithContext(mozilla::FileLocation &aFile,
|
2012-08-22 08:56:38 -07:00
|
|
|
uint32_t aLineNumber, const char* aMsg, ...);
|
2010-06-28 10:55:57 -07:00
|
|
|
|
2010-06-11 13:13:26 -07:00
|
|
|
#endif // ManifestParser_h
|