1
0
mirror of synced 2024-11-18 12:57:12 +01:00
ImHex/include/views/view_bookmarks.hpp

35 lines
602 B
C++

#pragma once
#include "views/view.hpp"
#include <vector>
#include <list>
#include "utils.hpp"
namespace hex {
namespace prv { class Provider; }
struct Bookmark {
Region region;
std::vector<char> name;
std::vector<char> comment;
};
class ViewBookmarks : public View {
public:
explicit ViewBookmarks(prv::Provider* &dataProvider);
~ViewBookmarks() override;
void createView() override;
void createMenu() override;
private:
prv::Provider* &m_dataProvider;
std::list<Bookmark> m_bookmarks;
};
}