Fixed version files (*.in)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6894 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2013-11-05 23:53:39 +00:00
parent 8f690333d6
commit a20109a8ee
3 changed files with 40 additions and 36 deletions

View file

@ -6,13 +6,17 @@
*/ */
#include <string> #include <string>
#include <inttypes.h>
// These versioning parameters are in the header because plugin versioning requires it.
// Please use the functions below, and don't refer directly to the #defines.
#define LIB_VERSION "0.5.5b"
#define SVN_REVISION "Revision $WCREV$" #define SVN_REVISION "Revision $WCREV$"
#define SVN_REVISION_NUMBER $WCREV$ #define SVN_REVISION_NUMBER $WCREV$
namespace RsUtil { namespace RsUtil {
uint32_t retroshareRevision();
std::string retroshareVersion(); std::string retroshareVersion();
} }

View file

@ -1,2 +1,2 @@
@echo off @echo off
"D:\Programme\TortoiseSVN\bin\SubWCRev" . util\rsversion.in util\rsversion.h "D:\Programme\TortoiseSVN\bin\SubWCRev" . util\rsguiversion.in util\rsguiversion.cpp

View file

@ -1,34 +1,34 @@
/**************************************************************** /****************************************************************
* RetroShare is distributed under the following license: * RetroShare is distributed under the following license:
* *
* Copyright (C) 2006,2007 crypton * Copyright (C) 2006,2007 crypton
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2 * as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version. * of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA. * Boston, MA 02110-1301, USA.
****************************************************************/ ****************************************************************/
#include "rsguiversion.h"
#define GUI_VERSION "0.5.5b"
#define GUI_REVISION "Revision: $WCREV$" #define GUI_VERSION "0.5.5b"
#define GUI_REVISION "Revision: $WCREV$"
#include <QString> QString retroshareVersion() {
return QString(GUI_VERSION);
QString retroshareVersion(); }
QString retroshareRevision(); QString retroshareRevision() {
return QString(GUI_REVISION);
}