mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 21:47:40 -05:00
provider: Added basic GDB Server provider
This commit is contained in:
28
plugins/builtin/include/content/views/view_gdb.hpp
Normal file
28
plugins/builtin/include/content/views/view_gdb.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
#include <hex.hpp>
|
||||
|
||||
#include <imgui.h>
|
||||
#include <hex/views/view.hpp>
|
||||
|
||||
#include <array>
|
||||
#include <string>
|
||||
|
||||
namespace hex::plugin::builtin {
|
||||
|
||||
class ViewGDB : public hex::View {
|
||||
public:
|
||||
ViewGDB();
|
||||
|
||||
void drawContent() override;
|
||||
|
||||
bool hasViewMenuItemEntry() override;
|
||||
|
||||
bool isAvailable();
|
||||
|
||||
private:
|
||||
std::string m_address;
|
||||
int m_port = 0;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user