1 /* 2 * Copyright 2021, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Emmanuel Gil Peyrot 7 */ 8 9 10 #include <Application.h> 11 #include <Catalog.h> 12 13 #include "TranslatorWindow.h" 14 #include "AVIFTranslator.h" 15 16 17 #undef B_TRANSLATION_CONTEXT 18 #define B_TRANSLATION_CONTEXT "main" 19 20 21 int 22 main() 23 { 24 BApplication app("application/x-vnd.Haiku-AVIFTranslator"); 25 if (LaunchTranslatorWindow(new AVIFTranslator, 26 B_TRANSLATE("AVIF Settings")) != B_OK) 27 return 1; 28 29 app.Run(); 30 return 0; 31 } 32