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