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

#include "pattern.h"
#include "application.h"

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