summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2025-11-24 21:10:38 -0500
committerJosh Ferrell <josh@vector35.com>2025-11-24 21:12:32 -0500
commit31d963f7eb2d3615b0d0ab6ced87d06142d83883 (patch)
treee5d930f9992ef430bf460ca52acdee62d863e968 /binaryninjaapi.h
parent0f1261500334e3aafb867ef397b11fef7ff201c4 (diff)
Add APIs for getting files in a project folder
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 6f84250c..e29f4084 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -3608,6 +3608,7 @@ namespace BinaryNinja {
Ref<ProjectFolder> GetParent() const;
bool SetParent(Ref<ProjectFolder> parent);
bool Export(const std::string& destination, const ProgressFunction& progressCallback = {}) const;
+ std::vector<Ref<ProjectFile>> GetFiles() const;
};
/*!
@@ -3688,6 +3689,8 @@ namespace BinaryNinja {
Ref<ProjectFile> GetFileById(const std::string& id) const;
Ref<ProjectFile> GetFileByPathOnDisk(const std::string& path) const;
std::vector<Ref<ProjectFile>> GetFilesByPathInProject(const std::string& path) const;
+ std::vector<Ref<ProjectFile>> GetFilesInFolder(Ref<ProjectFolder> folder) const;
+
bool PushFile(Ref<ProjectFile> file);
bool DeleteFile_(Ref<ProjectFile> file);