mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +02:00
new method isCore().
This commit is contained in:
parent
3b64f661db
commit
f35c3e8644
2 changed files with 15 additions and 0 deletions
|
@ -45,6 +45,13 @@ public class Binary extends CFile implements IBinary {
|
|||
return ((BinaryInfo)getElementInfo()).isSharedLib();
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.eclipse.cdt.core.model.IBinary#isCore()
|
||||
*/
|
||||
public boolean isCore() {
|
||||
return ((BinaryInfo)getElementInfo()).isCore();
|
||||
}
|
||||
|
||||
public String [] getNeededSharedLibs() {
|
||||
return ((BinaryInfo)getElementInfo()).getNeededSharedLibs();
|
||||
}
|
||||
|
|
|
@ -93,6 +93,14 @@ class BinaryInfo extends CFileInfo {
|
|||
return false;
|
||||
}
|
||||
|
||||
public boolean isCore() {
|
||||
IBinaryObject bin = getBinaryObject();
|
||||
if (bin != null) {
|
||||
return bin.getType() == IBinaryObject.CORE;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean hasDebug() {
|
||||
IBinaryObject bin = getBinaryObject();
|
||||
if (bin != null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue