1 /* 2 * Copyright 2008, Jérôme Duval, korli@users.berlios.de. All rights reserved. 3 * Copyright 2005-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 4 * Distributed under the terms of the MIT License. 5 */ 6 7 8 #include "PCXTranslator.h" 9 #include "PCX.h" 10 11 #include "TranslatorWindow.h" 12 #include <Application.h> 13 14 15 int 16 main(int /*argc*/, char **/*argv*/) 17 { 18 BApplication app("application/x-vnd.haiku-pcx-translator"); 19 20 status_t result; 21 result = LaunchTranslatorWindow(new PCXTranslator, "PCX Settings", BRect(0, 0, 225, 175)); 22 if (result != B_OK) 23 return 1; 24 25 app.Run(); 26 return 0; 27 } 28 29