diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-01-22 16:11:19 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-01-22 16:11:19 -0500 |
| commit | 3dd22f40996fc128ffce6026e8e747ca66bcc21d (patch) | |
| tree | a5e7fc57dc620fc4d4a408ffdbf114bb66dcf91d /rust/src | |
| parent | 96053ffc711aa27fcaeeb6cbfa89df0c253361f8 (diff) | |
Project support
Diffstat (limited to 'rust/src')
| -rw-r--r-- | rust/src/filemetadata.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/rust/src/filemetadata.rs b/rust/src/filemetadata.rs index 43c6f05d..6f335c24 100644 --- a/rust/src/filemetadata.rs +++ b/rust/src/filemetadata.rs @@ -15,7 +15,6 @@ use binaryninjacore_sys::{ BNBeginUndoActions, BNCloseFile, - BNCloseProject, BNCommitUndoActions, BNCreateDatabase, BNCreateFileMetadata, @@ -29,14 +28,12 @@ use binaryninjacore_sys::{ BNIsBackedByDatabase, //BNSetFileMetadataNavigationHandler, BNIsFileModified, - BNIsProjectOpen, BNMarkFileModified, BNMarkFileSaved, BNNavigate, BNNewFileReference, BNOpenDatabaseForConfiguration, BNOpenExistingDatabase, - BNOpenProject, BNRedo, BNRevertUndoActions, BNSaveAutoSnapshot, @@ -265,20 +262,6 @@ impl FileMetadata { Ok(unsafe { BinaryView::from_raw(view) }) } } - - pub fn open_project(&self) -> bool { - unsafe { BNOpenProject(self.handle) } - } - - pub fn close_project(&self) { - unsafe { - BNCloseProject(self.handle); - } - } - - pub fn is_project_open(&self) -> bool { - unsafe { BNIsProjectOpen(self.handle) } - } } impl ToOwned for FileMetadata { |
