summaryrefslogtreecommitdiff
path: root/view/sharedcache/HeadlessPlugin.cpp
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-03-10 11:05:40 -0400
committerMason Reed <mason@vector35.com>2025-04-02 05:36:54 -0400
commit25cc02431b61097b2adfc2fbc493b648b0300c3b (patch)
treea79d9c4f4f67234d3bf9bda413e8608f479a4cc8 /view/sharedcache/HeadlessPlugin.cpp
parentfa85bf28502286c4821427c5d0ed91a7ed46f8f6 (diff)
[SharedCache] Refactor Shared Cache
In absence of a better name, this commit refactors the shared cache code.
Diffstat (limited to 'view/sharedcache/HeadlessPlugin.cpp')
-rw-r--r--view/sharedcache/HeadlessPlugin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/sharedcache/HeadlessPlugin.cpp b/view/sharedcache/HeadlessPlugin.cpp
index c49ace5a..47c6b9de 100644
--- a/view/sharedcache/HeadlessPlugin.cpp
+++ b/view/sharedcache/HeadlessPlugin.cpp
@@ -1,9 +1,9 @@
#include <binaryninjaapi.h>
-#include "DSCView.h"
-#include "SharedCache.h"
+#include "SharedCacheView.h"
#ifdef __cplusplus
-extern "C" {
+extern "C"
+{
#endif
extern void RegisterSharedCacheWorkflow();
#ifdef __cplusplus
@@ -16,7 +16,7 @@ extern "C"
BINARYNINJAPLUGIN bool CorePluginInit()
{
- InitDSCViewType();
+ SharedCacheViewType::Register();
RegisterSharedCacheWorkflow();
return true;
}