xref: /haiku/src/add-ons/translators/psd/PSDTranslatorApp.cpp (revision 02354704729d38c3b078c696adc1bbbd33cbcf72)
1 /*
2  * Copyright 2013, Gerasim Troeglazov, 3dEyes@gmail.com. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 #include <Application.h>
7 
8 #include "PSDTranslator.h"
9 #include "TranslatorWindow.h"
10 
11 int
12 main(int argc, char *argv[])
13 {
14 	BApplication application("application/x-vnd.Haiku-PSDTranslator");
15 
16 	status_t result;
17 	result = LaunchTranslatorWindow(new PSDTranslator, "PSD Settings",
18 		BRect(0, 0, 320, 200));
19 	if (result != B_OK)
20 		return 1;
21 
22 	application.Run();
23 
24 	return 0;
25 }
26