Skip to content

Commit df8487b

Browse files
authored
Update extractor.h
1 parent 427a608 commit df8487b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

header/extractor.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010

1111
class ApkExtractor {
1212
public:
13-
static void extractResourcesFromApk(const std::string& apkPath);
13+
static void extractResourcesFromApk(const std::string& apkPath, bool flattenStructure = false);
1414

1515
private:
1616
static bool isImageFile(const std::string& extension);
1717
static bool isVideoFile(const std::string& extension);
1818
static bool isAudioFile(const std::string& extension);
1919
static void createDirectories(const std::filesystem::path& baseOutputDir, const std::filesystem::path& relativePath);
2020
static void copyFile(const std::filesystem::path& filePath, const std::filesystem::path& outputDir, const std::filesystem::path& relativePath);
21-
static void extractMediaFiles(const std::filesystem::path& extractedDir, const std::filesystem::path& outputDir);
21+
static void extractMediaFiles(const std::filesystem::path& extractedDir, const std::filesystem::path& outputDir, bool flattenStructure);
2222
};
2323

24-
void extractor(int argc,char**argv);
24+
void extractor(int argc, char** argv);
2525
#endif // EXTRACTOR_H

0 commit comments

Comments
 (0)