1 /* 2 * Copyright 2004-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 7 #include "RTFTranslator.h" 8 #include "RTF.h" 9 10 #include "TranslatorWindow.h" 11 12 #include <TranslatorRoster.h> 13 #include <Application.h> 14 15 #include <stdio.h> 16 #include <string.h> 17 18 19 int 20 main(int /*argc*/, char **/*argv*/) 21 { 22 BApplication app("application/x-vnd.haiku-rtf-translator"); 23 24 status_t result; 25 result = LaunchTranslatorWindow(new RTFTranslator, "RTF Settings", BRect(0, 0, 225, 175)); 26 if (result != B_OK) 27 return 1; 28 29 app.Run(); 30 return 0; 31 } 32 33