/*******************************************************************************
 * Copyright (c) 2007 Symbian Software Systems and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Andrew Ferguson (Symbian) - Initial implementation
 *******************************************************************************/
package org.eclipse.cdt.core.index.provider;

import org.eclipse.cdt.core.settings.model.ICConfigurationDescription;

/**
 * This interface is intended for ISVs to implement when plugging a mechanism
 * for read-only/off-line indexes into the CIndex.ReadOnlyPDOMProvider extension point element.
 * @since 4.0.0
 */
public interface IReadOnlyPDOMProvider extends IIndexProvider {
	/**
	 * Returns an array of IPDOMDescriptors that should contribute to the logical index
	 * for the specified {@link ICConfigurationDescription}
	 * @param config the configuration description whose logical index should be augmented
	 */
	public IPDOMDescriptor[] getDescriptors(ICConfigurationDescription config);
}
