xpcom/components/ManifestParser.h
author Ehsan Akhgari <ehsan@mozilla.com>
Fri, 24 Apr 2015 15:12:50 -0400
changeset 267826 9ef3b7efaaa734430bcb9e5b612dcc14a56bd60c
parent 220479 e5a957b1c51031cd4fa5ca610c7eb34d745b6d7f
child 268720 0f5799df920bfbf966217fa7a8d511a646a53725
permissions -rw-r--r--
Bug 892973 - Add support for the YouCompleteMe vim plugin. r=gps, a=NPOTB

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */

#ifndef ManifestParser_h
#define ManifestParser_h

#include "nsComponentManager.h"
#include "nsChromeRegistry.h"
#include "mozilla/FileLocation.h"

class nsIFile;

void ParseManifest(NSLocationType aType, mozilla::FileLocation& aFile,
                   char* aBuf, bool aChromeOnly, bool aXPTOnly = false);

void LogMessage(const char* aMsg, ...);

void LogMessageWithContext(mozilla::FileLocation& aFile,
                           uint32_t aLineNumber, const char* aMsg, ...);

#endif // ManifestParser_h