Mercurial > hg > forks > UniversalIndentGUI
view src/UiGuiVersion.h @ 652:d7b4ce40ceb9
From now on using an extra file and functions for gathering the version, build date and revision. This uncouples the connection between the MainWindow and AboutDialog and UpdateCheckDialog a bit by reducing the number of needed constructor parameters.
git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@911 59b1889a-e5ac-428c-b0c7-476e01d41282
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Wed, 04 Feb 2009 16:46:26 +0000 |
parents | 2272223c990b |
children | 506b9bb83ecc |
line wrap: on
line source
/*************************************************************************** * Copyright (C) 2006-2009 by Thomas Schweitzer * * thomas-schweitzer(at)arcor.de * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License version 2.0 as * * published by the Free Software Foundation. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program in the file LICENSE.GPL; if not, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ #ifndef UIGUIVERSION_H #define UIGUIVERSION_H class QString; // Define the version number here. Update this as the last file before a release. #define PROGRAM_VERSION 1.0.1 #define PROGRAM_VERSION_STRING "1.0.1" #define RESOURCE_VERSION 1,0,1,0 #define RESOURCE_VERSION_STRING "1,0,1,0\0" #define PROGRAM_REVISION "$Revision$" namespace UiGuiVersion { QString getBuildDate(); QString getBuildRevision(); } #endif // UIGUIVERSION_H