logger inject

This commit is contained in:
Kueffner, Maximilian
2025-03-18 21:22:41 +01:00
parent d2041c6147
commit e278ea6a44
4 changed files with 18 additions and 89 deletions
+3 -2
View File
@@ -27,11 +27,12 @@ enum LogLevelSelection
class AppGLFW
{
public:
AppGLFW();
AppGLFW(std::unique_ptr<utils::log::ILog>& log);
AppGLFW() { this->InitMainWindow(); }
AppGLFW(std::unique_ptr<utils::log::ILog>& log) : _logger(log.get()) { this->InitMainWindow(); }
int Run();
private:
void InitMainWindow();
void MenuBar();
void LoadImageProt();