1
0
mirror of synced 2024-11-12 10:10:53 +01:00
ImHex/plugins/builtin/include/content/views/view_logs.hpp
2023-07-23 23:37:47 +02:00

28 lines
558 B
C++

#pragma once
#include <hex.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/ui/view.hpp>
#include <array>
#include <string>
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;
};
}