167a22493SPhilippe Houdoin /* 267a22493SPhilippe Houdoin * Copyright 2010, Haiku. All rights reserved. 367a22493SPhilippe Houdoin * Distributed under the terms of the MIT License. 467a22493SPhilippe Houdoin * 567a22493SPhilippe Houdoin * Authors: 667a22493SPhilippe Houdoin * Philippe Houdoin 767a22493SPhilippe Houdoin */ 867a22493SPhilippe Houdoin 967a22493SPhilippe Houdoin 1067a22493SPhilippe Houdoin #include <Application.h> 116537cf97SJérôme Duval #include <Catalog.h> 12e4f8681eSPhilippe Houdoin 1367a22493SPhilippe Houdoin #include "TranslatorWindow.h" 146537cf97SJérôme Duval #include "WebPTranslator.h" 156537cf97SJérôme Duval 166537cf97SJérôme Duval 17*546208a5SOliver Tappe #undef B_TRANSLATION_CONTEXT 18*546208a5SOliver Tappe #define B_TRANSLATION_CONTEXT "main" 196537cf97SJérôme Duval 2067a22493SPhilippe Houdoin 2167a22493SPhilippe Houdoin int main()2267a22493SPhilippe Houdoinmain() 2367a22493SPhilippe Houdoin { 24e4f8681eSPhilippe Houdoin BApplication app("application/x-vnd.Haiku-WebPTranslator"); 25e4f8681eSPhilippe Houdoin if (LaunchTranslatorWindow(new WebPTranslator, 266537cf97SJérôme Duval B_TRANSLATE("WebP Settings")) != B_OK) 2767a22493SPhilippe Houdoin return 1; 2867a22493SPhilippe Houdoin 2967a22493SPhilippe Houdoin app.Run(); 3067a22493SPhilippe Houdoin return 0; 3167a22493SPhilippe Houdoin } 32