BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / translators / wonderbrush / WonderBrushMain.cpp
blob3b39fc47780cf075eb0f45d9d47d784f65f3da06
1 /*
2 * Copyright 2006, Haiku. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Stephan Aßmus <superstippi@gmx.de>
7 */
9 #include <Application.h>
10 #include <Catalog.h>
12 #include "WonderBrushTranslator.h"
13 #include "TranslatorWindow.h"
16 #undef B_TRANSLATION_CONTEXT
17 #define B_TRANSLATION_CONTEXT "WonderBrushMain"
20 int
21 main()
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;