2010-06-11 20:13:26 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00: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 20:13:26 +00:00
|
|
|
|
|
|
|
#ifndef ManifestParser_h
|
|
|
|
#define ManifestParser_h
|
|
|
|
|
|
|
|
#include "nsComponentManager.h"
|
|
|
|
#include "nsChromeRegistry.h"
|
2011-11-08 17:10:51 +00:00
|
|
|
#include "mozilla/FileLocation.h"
|
2010-06-11 20:13:26 +00:00
|
|
|
|
|
|
|
class nsILocalFile;
|
|
|
|
|
2011-11-08 17:10:51 +00:00
|
|
|
void ParseManifest(NSLocationType type, mozilla::FileLocation &file,
|
2010-07-02 13:53:19 +00:00
|
|
|
char* buf, bool aChromeOnly);
|
|
|
|
|
2010-06-28 17:55:57 +00:00
|
|
|
void LogMessage(const char* aMsg, ...);
|
|
|
|
|
2011-11-08 17:10:51 +00:00
|
|
|
void LogMessageWithContext(mozilla::FileLocation &aFile,
|
2010-07-02 13:53:19 +00:00
|
|
|
PRUint32 aLineNumber, const char* aMsg, ...);
|
2010-06-28 17:55:57 +00:00
|
|
|
|
2010-06-11 20:13:26 +00:00
|
|
|
#endif // ManifestParser_h
|