main.cpp
changeset 404 53efc2562a7d
parent 398 d42881c25fb6
child 406 1c8ff1928b97
     1.1 --- a/main.cpp	Mon Nov 20 12:12:00 2006 +0000
     1.2 +++ b/main.cpp	Mon Nov 20 12:12:02 2006 +0000
     1.3 @@ -1,14 +1,18 @@
     1.4  #include <QApplication>
     1.5  #include <q3network.h>
     1.6  
     1.7 +#include "flagrowobj.h"
     1.8 +#include "mainwindow.h"
     1.9 +#include "options.h"
    1.10  #include "settings.h"
    1.11 -#include "options.h"
    1.12 -#include "mainwindow.h"
    1.13 -#include "flagrowobj.h"
    1.14 +#include "version.h"
    1.15  
    1.16  // Global variables
    1.17  TextEditor *textEditor;			// used in Constr. of LinkableMapObj
    1.18  								// initialized in mainwindow
    1.19 +QString vymName(__VYM_NAME);
    1.20 +QString vymVersion(__VYM_VERSION);
    1.21 +QString vymBuildDate(__VYM_BUILD_DATE);
    1.22  
    1.23  Main *mainWindow;				// used in BranchObj::select()								
    1.24  QString tmpVymDir;				// All temp files go there, created in mainwindow
    1.25 @@ -60,7 +64,7 @@
    1.26  	{
    1.27  		cout << "vym version "<<__VYM_VERSION
    1.28  			<<"  (c) 2004-2006 Uwe Drechsel - "
    1.29 -			<<__BUILD_DATE<<endl;
    1.30 +			<<__VYM_BUILD_DATE<<endl;
    1.31  			
    1.32  		return 0;	
    1.33  	}