diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IBinaryElement.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IBinaryElement.java new file mode 100644 index 00000000000..b6cec1e2d5c --- /dev/null +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IBinaryElement.java @@ -0,0 +1,26 @@ +package org.eclipse.cdt.core.model; + +/* + * (c) Copyright QNX Software Systems Ltd. 2002. + * All Rights Reserved. + */ + +/** + */ +public interface IBinaryElement extends ICElement { + + /** + * Returns the address of the function. This method will return, + * the address of a symbol for children of IBinaryObject. + * + * @exception CModelException if this element does not have address + * information. + */ + long getAddress() throws CModelException; + + /** + * Returns the binary object the element belongs to. + * + */ + IBinary getBinary(); +} diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IBinaryFunction.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IBinaryFunction.java new file mode 100644 index 00000000000..febdee14917 --- /dev/null +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IBinaryFunction.java @@ -0,0 +1,12 @@ +package org.eclipse.cdt.core.model; + +/* + * (c) Copyright QNX Software Systems Ltd. 2002. + * All Rights Reserved. + */ + +/** + * Represents a function. + */ +public interface IBinaryFunction extends IFunction, IBinaryElement { +} diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IBinaryModule.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IBinaryModule.java new file mode 100644 index 00000000000..d72fd072eb1 --- /dev/null +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IBinaryModule.java @@ -0,0 +1,13 @@ +package org.eclipse.cdt.core.model; + +/* + * (c) Copyright QNX Software Systems Ltd. 2002. + * All Rights Reserved. + */ + +/** + */ +public interface IBinaryModule extends IParent, IBinaryElement { + + IBinaryElement[] getBinaryElements(); +} diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IBinaryVariable.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IBinaryVariable.java new file mode 100644 index 00000000000..71c488ea7ee --- /dev/null +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IBinaryVariable.java @@ -0,0 +1,12 @@ +package org.eclipse.cdt.core.model; + +/* + * (c) Copyright IBM Corp. 2000, 2001. + * All Rights Reserved. + */ + +/** + * Represents a global variable. + */ +public interface IBinaryVariable extends IVariable , IBinaryElement { +}