1*122e78a5Sthreedeyes /* 2*122e78a5Sthreedeyes * Copyright 2005-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3*122e78a5Sthreedeyes * Copyright 2012, Gerasim Troeglazov, 3dEyes@gmail.com. All rights reserved. 4*122e78a5Sthreedeyes * Distributed under the terms of the MIT License. 5*122e78a5Sthreedeyes */ 6*122e78a5Sthreedeyes 7*122e78a5Sthreedeyes #include <Application.h> 8*122e78a5Sthreedeyes 9*122e78a5Sthreedeyes #include "ICNSTranslator.h" 10*122e78a5Sthreedeyes #include "TranslatorWindow.h" 11*122e78a5Sthreedeyes 12*122e78a5Sthreedeyes int 13*122e78a5Sthreedeyes main(int /*argc*/, char ** /*argv*/) 14*122e78a5Sthreedeyes { 15*122e78a5Sthreedeyes BApplication app("application/x-vnd.Haiku-ICNSTranslator"); 16*122e78a5Sthreedeyes 17*122e78a5Sthreedeyes status_t result; 18*122e78a5Sthreedeyes result = LaunchTranslatorWindow(new ICNSTranslator, 19*122e78a5Sthreedeyes "ICNS Settings", BRect(0, 0, 320, 200)); 20*122e78a5Sthreedeyes if (result != B_OK) 21*122e78a5Sthreedeyes return 1; 22*122e78a5Sthreedeyes 23*122e78a5Sthreedeyes app.Run(); 24*122e78a5Sthreedeyes return 0; 25*122e78a5Sthreedeyes } 26*122e78a5Sthreedeyes 27