1 /* 2 * Copyright 2006, Haiku. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Stephan Aßmus <superstippi@gmx.de> 7 */ 8 9 #include <Application.h> 10 #include <Catalog.h> 11 12 #include "WonderBrushTranslator.h" 13 #include "TranslatorWindow.h" 14 15 16 #undef B_TRANSLATION_CONTEXT 17 #define B_TRANSLATION_CONTEXT "WonderBrushMain" 18 19 20 int 21 main() 22 { 23 BApplication app("application/x-vnd.Haiku-WonderBrushTranslator"); 24 status_t result; 25 result = LaunchTranslatorWindow(new WonderBrushTranslator, 26 B_TRANSLATE("WBI Settings"), BRect(0, 0, 225, 175)); 27 if (result == B_OK) { 28 app.Run(); 29 return 0; 30 } else 31 return 1; 32 } 33