1 /* 2 * Copyright 2005-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 * Copyright 2012, Gerasim Troeglazov, 3dEyes@gmail.com. All rights reserved. 4 * Distributed under the terms of the MIT License. 5 */ 6 7 #include <Application.h> 8 9 #include "ICNSTranslator.h" 10 #include "TranslatorWindow.h" 11 12 int 13 main(int /*argc*/, char ** /*argv*/) 14 { 15 BApplication app("application/x-vnd.Haiku-ICNSTranslator"); 16 17 status_t result; 18 result = LaunchTranslatorWindow(new ICNSTranslator, 19 "ICNS Settings", BRect(0, 0, 320, 200)); 20 if (result != B_OK) 21 return 1; 22 23 app.Run(); 24 return 0; 25 } 26 27