diff options
| author | KyleMiles <krm504@nyu.edu> | 2024-09-30 17:42:18 -0400 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2024-09-30 17:42:18 -0400 |
| commit | 2e272f7efffb61eec2f54a740a9deabc4829c97d (patch) | |
| tree | ab61383a7409c119477135ec5853c30c9c88fcd1 /pluginmanager.cpp | |
| parent | 209468660e0df9d985ffb8fe9ad19e65a20d81d3 (diff) | |
Add IsViewOnly field to plugins
Diffstat (limited to 'pluginmanager.cpp')
| -rw-r--r-- | pluginmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pluginmanager.cpp b/pluginmanager.cpp index 84024a0f..d9cd4850 100644 --- a/pluginmanager.cpp +++ b/pluginmanager.cpp @@ -138,6 +138,11 @@ string RepoPlugin::GetCommit() const RETURN_STRING(BNPluginGetCommit(m_object)); } +bool RepoPlugin::IsViewOnly() const +{ + BNPluginGetViewOnly(m_object); +} + string RepoPlugin::GetRepository() const { |
