1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42: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
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@ -40,14 +40,14 @@ public interface IIndexFile extends IFileNomination {
* @throws CoreException
*/
IIndexInclude[] getIncludes() throws CoreException;
/**
* Returns all macros defined in this file.
* @return an array of macros found in this file
* @throws CoreException
*/
IIndexMacro[] getMacros() throws CoreException;
/**
* Returns all using directives for namespaces and global scope, found in this file.
* @throws CoreException
@ -95,7 +95,7 @@ public interface IIndexFile extends IFileNomination {
* Find all names within the given range.
*/
IIndexName[] findNames(int offset, int length) throws CoreException;
/**
* Returns the include that was used to parse this file, may be <code>null</code>.
*/
@ -116,14 +116,6 @@ public interface IIndexFile extends IFileNomination {
*/
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.
* @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
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@ -56,6 +56,14 @@ public interface IIndexFragmentFile extends IIndexFile {
*/
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
* associated fragment. Files without content are inserted to track includes.