/** (C) Copyright MD Company. 2002. All rights reserved.* Author: Eugene Eremin* $Id: main.cpp,v 1.4 2002/07/02 15:05:23 eugene Exp $ */#ifdef WIN32#include <windows.h>#endif#include "vem_recon2wnd.h"int main( int argc, char** argv ){ QApplication app( argc, argv ); //app.setGlobalMouseTracking( TRUE ); #ifndef WIN32 QFont main_font("Helvetica [Cronyx]",10); app.setFont(main_font,TRUE);#endif //WIN32 // translation file for Qt QTranslator qt( 0 ); qt.load( QString( "qt_" ) + QTextCodec::locale(), "." ); app.installTranslator( &qt ); // translation file for application strings QTranslator Recon2_trans( 0 ); QString str = QTextCodec::locale(); if(Recon2_trans.load( QString( "Recon2_" ) + QTextCodec::locale(), "." )!=TRUE){ QMessageBox::warning(NULL,"Warning",QString( "Can`t open file for locale ") + QTextCodec::locale()); } app.installTranslator(&Recon2_trans); CRecon2Wnd * mw = new CRecon2Wnd(); mw->show(); app.connect( &app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()) ); return app.exec();}#ifdef WIN32int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow){ // TODO: Place code here. main(0,0); return 0;}#endif //WIN32