From 3addad2cfa45de0252b63adfa8c3f868076c3f40 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Tue, 21 Apr 2020 01:00:59 +0200 Subject: Add cc4group.isPacked --- src/cc4group.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cc4group.h') 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) -- cgit v1.2.3-54-g00ecf