diff options
Diffstat (limited to 'view/kernelcache/ui/KernelCacheUINotifications.h')
| -rw-r--r-- | view/kernelcache/ui/KernelCacheUINotifications.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/view/kernelcache/ui/KernelCacheUINotifications.h b/view/kernelcache/ui/KernelCacheUINotifications.h new file mode 100644 index 00000000..9ea4b50d --- /dev/null +++ b/view/kernelcache/ui/KernelCacheUINotifications.h @@ -0,0 +1,23 @@ +// +// Created by kat on 5/8/23. +// +#include "ui/uicontext.h" + +#ifndef SHAREDCACHE_NOTIFICATIONS_H +#define SHAREDCACHE_NOTIFICATIONS_H + +class UINotifications : public UIContextNotification { + static UINotifications* m_instance; + + std::vector<size_t> m_sessionsAlreadyDisplayedPickerFor; + +public: + virtual void OnViewChange(UIContext *context, ViewFrame *frame, const QString &type) override; + // bool OnAfterOpenDatabase(UIContext* context, FileMetadataRef metadata, BinaryViewRef data) override; + void OnAfterOpenFile(UIContext* context, FileContext* file, ViewFrame* frame) override; + + static void init(); +}; + + +#endif //SHAREDCACHE_NOTIFICATIONS_H |
