summaryrefslogtreecommitdiff
path: root/main.cpp
blob: 19a40594ce141db3ea21accf0fb89848f5f8c8f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <iostream>
#include <stdexcept>

#include "application.h"

int main(int, char**) {
	try {
		Application* app = new Application();
		
		app->run();
	} catch(std::runtime_error e) {
		std::cerr << "Exception caught: " << e.what() << std::endl;
	}
	
	return 0;
}