1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

New clasess IBinary{Element,Module,Variable,Function}

to core the binary API
This commit is contained in:
Alain Magloire 2003-03-31 03:42:56 +00:00
parent 53b11edee4
commit a8f37dc4b4
4 changed files with 63 additions and 0 deletions

View file

@ -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();
}

View file

@ -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 {
}

View file

@ -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();
}

View file

@ -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 {
}