1
0
mirror of synced 2024-12-15 01:01:15 +01:00
ImHex/lib/libimhex/include/hex/data_processor/link.hpp
2023-11-10 20:47:08 +01:00

22 lines
453 B
C++

#pragma once
namespace hex::dp {
class Link {
public:
Link(int from, int to);
[[nodiscard]] int getId() const { return this->m_id; }
void setId(int id) { this->m_id = id; }
[[nodiscard]] int getFromId() const { return this->m_from; }
[[nodiscard]] int getToId() const { return this->m_to; }
static void setIdCounter(int id);
private:
int m_id;
int m_from, m_to;
};
}