Skip to main content
summaryrefslogtreecommitdiffstats
blob: dce4f9b733c7e220c13bf42f7b2550d8f9ff8bc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package org.eclipse.cdt.internal.core.model;

import org.eclipse.cdt.core.model.IParent;

/**
 * @author jcamelon
 *
 * To change this generated comment edit the template variable "typecomment":
 * Window>Preferences>Java>Templates.
 * To enable and disable the creation of type comments go to
 * Window>Preferences>Java>Code Generation.
 */
public class TranslationUnitWrapper implements ICElementWrapper {
	
	TranslationUnit unit = null; 
	
	/**
	 * @see org.eclipse.cdt.internal.core.model.IWrapper#getElement()
	 */
	public IParent getElement() {
		return unit;
	}
	/**
	 * @see org.eclipse.cdt.internal.core.model.IWrapper#setElement(java.lang.Object)
	 */
	public void setElement(IParent item) {
		unit = (TranslationUnit)item; 
	}
	
	public TranslationUnitWrapper( )
	{
	}

}

Back to the top