22 lines
462 B
C++
22 lines
462 B
C++
|
#pragma once
|
||
|
|
||
|
#include <hex/ui/view.hpp>
|
||
|
|
||
|
namespace hex::plugin::builtin {
|
||
|
|
||
|
class ViewLogs : public View {
|
||
|
public:
|
||
|
ViewLogs();
|
||
|
~ViewLogs() override = default;
|
||
|
|
||
|
void drawContent() override;
|
||
|
|
||
|
[[nodiscard]] bool isAvailable() const override { return true; }
|
||
|
[[nodiscard]] bool hasViewMenuItemEntry() const override { return false; }
|
||
|
|
||
|
private:
|
||
|
int m_logLevel = 1;
|
||
|
bool m_viewOpen = false;
|
||
|
};
|
||
|
|
||
|
}
|