xpcom/components/nsCategoryManagerUtils.h
author Lars T Hansen <lhansen@mozilla.com>
Thu, 09 Feb 2017 15:15:17 +0100
changeset 417142 0f4d52995594cc5c2d302c11b34088e5e5174fb2
parent 322150 ea417c8620f751e3c81f57d25d0ff449730be933
permissions -rw-r--r--
Bug 1277562 - Part 9: Add Wasm Tier 2 compilation tasks. r=luke

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* 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 nsCategoryManagerUtils_h__
#define nsCategoryManagerUtils_h__

#include "nsICategoryManager.h"

void
NS_CreateServicesFromCategory(const char* aCategory,
                              nsISupports* aOrigin,
                              const char* aObserverTopic,
                              const char16_t* aObserverData = nullptr);

#endif