summaryrefslogtreecommitdiffstats
path: root/libpit/Source/libpit.h
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2013-05-05 12:53:36 +0200
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2013-05-05 12:53:36 +0200
commit55d6c9551e13b108947410d7bf50b6ba2c01b633 (patch)
tree992992cd5f8de4461829efd0c000c4b09c595412 /libpit/Source/libpit.h
parentChanged Arguments.h constructors with default parameters so it compiles with clang. (diff)
downloadHeimdall-55d6c9551e13b108947410d7bf50b6ba2c01b633.tar
Heimdall-55d6c9551e13b108947410d7bf50b6ba2c01b633.tar.gz
Heimdall-55d6c9551e13b108947410d7bf50b6ba2c01b633.tar.bz2
Heimdall-55d6c9551e13b108947410d7bf50b6ba2c01b633.tar.lz
Heimdall-55d6c9551e13b108947410d7bf50b6ba2c01b633.tar.xz
Heimdall-55d6c9551e13b108947410d7bf50b6ba2c01b633.tar.zst
Heimdall-55d6c9551e13b108947410d7bf50b6ba2c01b633.zip
Diffstat (limited to 'libpit/Source/libpit.h')
-rw-r--r--libpit/Source/libpit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpit/Source/libpit.h b/libpit/Source/libpit.h
index eb37647..c2bc691 100644
--- a/libpit/Source/libpit.h
+++ b/libpit/Source/libpit.h
@@ -103,6 +103,11 @@ namespace libpit
bool Matches(const PitEntry *otherPitEntry) const;
+ bool IsFlashable(void) const
+ {
+ return strlen(partitionName) != 0;
+ }
+
unsigned int GetBinaryType(void) const
{
return binaryType;