1 /* 2 * Copyright 2009, Haiku, Inc. 3 * Distributed under the terms of the MIT license. 4 * 5 * Authors: 6 * Michael Lotz, mmlr@mlotz.ch 7 */ 8 9 #include <Application.h> 10 #include <Catalog.h> 11 #include "HVIFTranslator.h" 12 #include "TranslatorWindow.h" 13 14 #undef B_TRANSLATE_CONTEXT 15 #define B_TRANSLATE_CONTEXT "HVIFMain" 16 17 int 18 main(int argc, char *argv[]) 19 { 20 BApplication application("application/x-vnd.Haiku.HVIFTranslator"); 21 if (LaunchTranslatorWindow(new HVIFTranslator, 22 B_TRANSLATE("HVIF Settings"), BRect(0, 0, 250, 150)) != B_OK) 23 return 1; 24 25 application.Run(); 26 return 0; 27 } 28