xref: /haiku/src/add-ons/translators/ico/main.cpp (revision d3d8b26997fac34a84981e6d2b649521de2cc45a)
1 /*
2  * Copyright 2005-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 
7 #include "ICOTranslator.h"
8 #include "ICO.h"
9 
10 #include "TranslatorWindow.h"
11 #include <Application.h>
12 
13 
14 int
15 main(int /*argc*/, char **/*argv*/)
16 {
17 	BApplication app("application/x-vnd.haiku-ico-translator");
18 
19 	status_t result;
20 	result = LaunchTranslatorWindow(new ICOTranslator, "ICO Settings", BRect(0, 0, 225, 175));
21 	if (result != B_OK)
22 		return 1;
23 
24 	app.Run();
25 	return 0;
26 }
27 
28