xref: /haiku/src/add-ons/translators/wonderbrush/WonderBrushMain.cpp (revision 508f54795f39c3e7552d87c95aae9dd8ec6f505b)
1 /*
2  * Copyright 2006, Haiku. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Stephan Aßmus <superstippi@gmx.de>
7  */
8 
9 #include <Application.h>
10 
11 #include "WonderBrushTranslator.h"
12 #include "TranslatorWindow.h"
13 
14 int
15 main()
16 {
17 	BApplication app("application/x-vnd.Haiku-WonderBrushTranslator");
18 	status_t result;
19 	result = LaunchTranslatorWindow(new WonderBrushTranslator,
20 		"WBI Settings", BRect(0, 0, 225, 175));
21 	if (result == B_OK) {
22 		app.Run();
23 		return 0;
24 	} else
25 		return 1;
26 }
27