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

new constructor

This commit is contained in:
Alain Magloire 2003-10-19 05:28:40 +00:00
parent 08d608864c
commit 8517910db6
2 changed files with 14 additions and 0 deletions

View file

@ -32,6 +32,13 @@ public class BinaryObject extends BinaryFile implements IBinaryObject {
hasChanged();
}
public BinaryObject(IPath p, PE pe) throws IOException {
super(p);
loadInformation(pe);
pe.dispose();
hasChanged();
}
public void setType(int t) {
type = t;
}

View file

@ -40,6 +40,13 @@ public class BinaryObject extends BinaryFile implements IBinaryObject {
hasChanged();
}
public BinaryObject(IPath path, ElfHelper helper) throws IOException {
super(path);
loadInformation(helper);
helper.dispose();
hasChanged();
}
/**
* @see org.eclipse.cdt.core.model.IBinaryParser.IBinaryObject#getBSS()
*/