Skip to content

Commit

Permalink
Update extractor.h
Browse files Browse the repository at this point in the history
  • Loading branch information
liveldy authored Jun 24, 2024
1 parent 427a608 commit df8487b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions header/extractor.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@

class ApkExtractor {
public:
static void extractResourcesFromApk(const std::string& apkPath);
static void extractResourcesFromApk(const std::string& apkPath, bool flattenStructure = false);

private:
static bool isImageFile(const std::string& extension);
static bool isVideoFile(const std::string& extension);
static bool isAudioFile(const std::string& extension);
static void createDirectories(const std::filesystem::path& baseOutputDir, const std::filesystem::path& relativePath);
static void copyFile(const std::filesystem::path& filePath, const std::filesystem::path& outputDir, const std::filesystem::path& relativePath);
static void extractMediaFiles(const std::filesystem::path& extractedDir, const std::filesystem::path& outputDir);
static void extractMediaFiles(const std::filesystem::path& extractedDir, const std::filesystem::path& outputDir, bool flattenStructure);
};

void extractor(int argc,char**argv);
void extractor(int argc, char** argv);
#endif // EXTRACTOR_H

0 comments on commit df8487b

Please sign in to comment.