summaryrefslogtreecommitdiff
path: root/src/main.cpp
blob: cf70271eda02fc1b25b05e63540c1278a72f1124 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

#include <cstdio>
#include <exception>

#include "window.hpp"

PKEWindowProperties windowProps{};

int main() { 
	printf("PKE ENTERING\n");
	try {
		CreateWindow(&windowProps);
	} catch (const std::exception &exc) {
		printf("EXCEPTION: %s\n", exc.what());
	} catch (...) {
		printf("UNHANDLED EXCEPTION\n");
	}
	DestroyWindow();
	printf("PKE EXITING\n");
	return 0;
}