1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Bug 414692. Moved setReplacementHeader method to IIndexFragmentFile.

This commit is contained in:
Sergey Prigogin 2014-05-08 10:16:02 -07:00
parent 99f21e57e8
commit 80ea8de8d4
2 changed files with 13 additions and 13 deletions

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2006, 2012 Wind River Systems, Inc. and others. * Copyright (c) 2006, 2014 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
@ -116,14 +116,6 @@ public interface IIndexFile extends IFileNomination {
*/ */
String getReplacementHeader() throws CoreException; String getReplacementHeader() throws CoreException;
/**
* Sets the name of the replacement header.
* @param replacementHeader the name of the replacement header, may be {@code null} or an empty
* string
* @since 5.7
*/
void setReplacementHeader(String replacementHeader) throws CoreException;
/** /**
* Returns detailed information about the file. For debugging only. * Returns detailed information about the file. For debugging only.
* @since 5.4 * @since 5.4

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2006, 2012 Wind River Systems, Inc. and others. * Copyright (c) 2006, 2014 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
@ -56,6 +56,14 @@ public interface IIndexFragmentFile extends IIndexFile {
*/ */
void setPragmaOnceSemantics(boolean value) throws CoreException; void setPragmaOnceSemantics(boolean value) throws CoreException;
/**
* Sets the name of the replacement header.
* @param replacementHeader the name of the replacement header, may be {@code null} or an empty
* string
* @since 5.7
*/
void setReplacementHeader(String replacementHeader) throws CoreException;
/** /**
* Returns whether this file contains content in its * Returns whether this file contains content in its
* associated fragment. Files without content are inserted to track includes. * associated fragment. Files without content are inserted to track includes.