application scaffolding

This commit is contained in:
2026-04-10 22:12:25 -05:00
parent a7333861b4
commit f8f103e5e9
8 changed files with 102 additions and 1 deletions

26
src/app/App.cpp Normal file
View File

@@ -0,0 +1,26 @@
#include "App.hpp"
#include "utils/utils.hpp"
App::App() {
utils::debugPrint(__FUNCTION__, __LINE__, "App constructor.");
init();
}
void App::init() {
utils::debugPrint(__FUNCTION__, __LINE__, "Init app.");
}
int App::run() {
utils::debugPrint(__FUNCTION__, __LINE__, "Run app.");
return 0;
}

19
src/app/App.hpp Normal file
View File

@@ -0,0 +1,19 @@
#pragma once
class App {
public:
App();
~App() = default;
// excecute, called from main()
int run();
private:
// things like creating a window, creating the rendering engine, etc.
void init();
};

0
src/app/Window.cpp Normal file
View File

15
src/app/Window.hpp Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
class Window {
public:
Window();
~Window() = default;
private:
};