dbbc525174
* Build refactoring and initial plugin support * Possibly fixed linux / mac build * Added libdl to libglad build script * Add glfw to imgui dependencies * Refactored common functionality into "libimhex" for plugins * Added plugin loading and example plugin * Added proper API for creating a custom view and a custom tools entry with plugins
28 lines
488 B
C++
28 lines
488 B
C++
#pragma once
|
|
|
|
#include "views/view.hpp"
|
|
|
|
#include <vector>
|
|
#include <list>
|
|
|
|
#include "helpers/utils.hpp"
|
|
|
|
namespace hex {
|
|
|
|
namespace prv { class Provider; }
|
|
|
|
class ViewBookmarks : public View {
|
|
public:
|
|
explicit ViewBookmarks(prv::Provider* &dataProvider);
|
|
~ViewBookmarks() override;
|
|
|
|
void drawContent() override;
|
|
void drawMenu() override;
|
|
|
|
private:
|
|
prv::Provider* &m_dataProvider;
|
|
|
|
std::list<Bookmark> m_bookmarks;
|
|
};
|
|
|
|
} |