Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ITranslationUnit.java')
-rw-r--r--core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ITranslationUnit.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ITranslationUnit.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ITranslationUnit.java
index b7b49617d8c..8663c2be489 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ITranslationUnit.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ITranslationUnit.java
@@ -341,7 +341,13 @@ public interface ITranslationUnit extends ICElement, IParent, IOpenable, ISource
* @return IWorkingCopy
*/
IWorkingCopy getWorkingCopy(IProgressMonitor monitor, IBufferFactory factory) throws CModelException;
-
+
+ /**
+ * Return the contentType id for this file.
+ * @return String - contentType id
+ */
+ String getContentTypeId();
+
/**
* Checks if this is a working copy.
* @return boolean

Back to the top