summaryrefslogtreecommitdiff
path: root/plugins/warp/ui/plugin.cpp
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-10-22 02:09:10 -0400
committerMason Reed <mason@vector35.com>2025-10-22 14:51:07 -0400
commit551738c693b52b8c383eab629fbc9d81d04d4c4b (patch)
treec2da8e1ebc3f69715ec8710f89f1c23241d4ac10 /plugins/warp/ui/plugin.cpp
parent5ae046509bb7c5c0a5c338793ebc3902820ac9e7 (diff)
Add more plugins to free
Adds WARP, DWARF Import and Objective-C plugins to free
Diffstat (limited to 'plugins/warp/ui/plugin.cpp')
-rw-r--r--plugins/warp/ui/plugin.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/warp/ui/plugin.cpp b/plugins/warp/ui/plugin.cpp
index f3c1639b..79b6c9ff 100644
--- a/plugins/warp/ui/plugin.cpp
+++ b/plugins/warp/ui/plugin.cpp
@@ -247,13 +247,19 @@ extern "C"
{
BN_DECLARE_UI_ABI_VERSION
+#ifndef DEMO_EDITION
BINARYNINJAPLUGIN void CorePluginDependencies()
{
// We must have WARP to enable this plugin!
AddRequiredPluginDependency("warp_ninja");
}
+#endif
+#ifdef DEMO_EDITION
+ bool WarpUIPluginInit()
+#else
BINARYNINJAPLUGIN bool UIPluginInit()
+#endif
{
RegisterWarpFetchFunctionsCommand();
Sidebar::addSidebarWidgetType(new WarpSidebarWidgetType());