diff options
| author | 0cyn <kat@vector35.com> | 2026-04-27 13:25:14 -0400 |
|---|---|---|
| committer | 0cyn <kat@vector35.com> | 2026-05-05 14:38:23 -0400 |
| commit | e4db4f0704ea6e6b381e9322a336661dc23c3b5f (patch) | |
| tree | 23d84ee814d18f71909dda27ce0453b778605822 /pluginmanager.cpp | |
| parent | 73976e975ddf4dd0cbb5aa49425cf36e5655cd5c (diff) | |
Expose 'is_paid' Extension field in API
Diffstat (limited to 'pluginmanager.cpp')
| -rw-r--r-- | pluginmanager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pluginmanager.cpp b/pluginmanager.cpp index bfa0dfb9..1ce77606 100644 --- a/pluginmanager.cpp +++ b/pluginmanager.cpp @@ -224,6 +224,12 @@ bool Extension::IsViewOnly() const } +bool Extension::IsPaid() const +{ + return BNPluginGetIsPaid(m_object); +} + + string Extension::GetRepository() const { RETURN_STRING(BNPluginGetRepository(m_object)); |
