| 46 | |
| 47 | |
| 48 | Ref<RemoteProject> BinaryNinja::Collaboration::GetRemoteProjectForLocalDatabase(Ref<Database> database) |
| 49 | { |
| 50 | BNRemoteProject* val; |
| 51 | if (!BNCollaborationGetRemoteProjectForLocalDatabase(database->m_object, &val)) |
| 52 | throw RemoteException("Failed to get remote project for local database"); |
| 53 | if (val == nullptr) |
| 54 | return nullptr; |
| 55 | return new RemoteProject(val); |
| 56 | } |
| 57 | |
| 58 | |
| 59 | Ref<RemoteFile> BinaryNinja::Collaboration::GetRemoteFileForLocalDatabase(Ref<Database> database) |
nothing calls this directly
no test coverage detected