1
0
mirror of synced 2024-11-27 17:10:51 +01:00
ImHex/plugins/builtin/include/content/views/view_bookmarks.hpp
2022-09-28 21:40:31 +02:00

28 lines
618 B
C++

#pragma once
#include <hex/ui/view.hpp>
#include <vector>
#include <list>
namespace hex::plugin::builtin {
class ViewBookmarks : public View {
public:
ViewBookmarks();
~ViewBookmarks() override;
void drawContent() override;
private:
static bool importBookmarks(prv::Provider *provider, const nlohmann::json &json);
static bool exportBookmarks(prv::Provider *provider, nlohmann::json &json);
void registerMenuItems();
private:
std::string m_currFilter;
std::list<ImHexApi::Bookmarks::Entry>::iterator m_dragStartIterator;
};
}