summaryrefslogtreecommitdiffstats
path: root/src/cc4group.h
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2020-04-21 01:00:59 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2020-04-21 01:00:59 +0200
commit3addad2cfa45de0252b63adfa8c3f868076c3f40 (patch)
tree58ea79d58c65dda0017c23c207854cd415d0e216 /src/cc4group.h
parent85a1c875782b3ac10020a64a937d660b2b46d3b0 (diff)
downloadcc4group-3addad2cfa45de0252b63adfa8c3f868076c3f40.tar.gz
cc4group-3addad2cfa45de0252b63adfa8c3f868076c3f40.zip
Add cc4group.isPacked
Diffstat (limited to 'src/cc4group.h')
-rw-r--r--src/cc4group.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cc4group.h b/src/cc4group.h
index 6365f82..51bacbb 100644
--- a/src/cc4group.h
+++ b/src/cc4group.h
@@ -435,6 +435,10 @@ typedef struct {
// NOTE: this function can't fail, thus the return value is the result value, not the success indication
bool (*isChild)(const CC4Group* const this);
+ // returns wether this group is packed or loaded from a normal directory
+ // NOTE: this function can't fail, thus the return value is the result value, not the success indication
+ bool (*isPacked)(const CC4Group* const this);
+
// returns the filename of the group file, if known, or directory name of the child-root entry for openAsChild groups
// might return NULL if not determinable (e.g. if not opened from file)