2020-11-28 00:33:26 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "views/view.hpp"
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <list>
|
|
|
|
|
2020-11-28 21:55:52 +01:00
|
|
|
#include "helpers/utils.hpp"
|
2020-11-28 00:33:26 +01:00
|
|
|
|
|
|
|
namespace hex {
|
|
|
|
|
|
|
|
namespace prv { class Provider; }
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|