diff options
Diffstat (limited to 'project.cpp')
| -rw-r--r-- | project.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/project.cpp b/project.cpp index 54e873dc..6072054f 100644 --- a/project.cpp +++ b/project.cpp @@ -522,6 +522,16 @@ void Project::EndBulkOperation() } +Ref<Collaboration::RemoteProject> Project::GetRemoteProject() +{ + + BNRemoteProject* project = BNProjectGetRemoteProject(m_object); + if (project == nullptr) + return nullptr; + return new Collaboration::RemoteProject(project); +} + + ProjectFile::ProjectFile(BNProjectFile* file) { m_object = file; |
