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 <Application.h> 8 #include <Catalog.h> 9 10 #include "ICOTranslator.h" 11 #include "ICO.h" 12 #include "TranslatorWindow.h" 13 14 #undef B_TRANSLATE_CONTEXT 15 #define B_TRANSLATE_CONTEXT "main" 16 17 int 18 main(int /*argc*/, char ** /*argv*/) 19 { 20 BApplication app("application/x-vnd.Haiku-ICOTranslator"); 21 22 status_t result; 23 result = LaunchTranslatorWindow(new ICOTranslator, 24 B_TRANSLATE("ICO Settings"), BRect(0, 0, 225, 175)); 25 if (result != B_OK) 26 return 1; 27 28 app.Run(); 29 return 0; 30 } 31 32