mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-25 01:10:19 -05:00
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:
parent
8f690333d6
commit
a20109a8ee
@ -6,13 +6,17 @@
|
||||
*/
|
||||
|
||||
#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_NUMBER $WCREV$
|
||||
|
||||
namespace RsUtil {
|
||||
|
||||
uint32_t retroshareRevision();
|
||||
std::string retroshareVersion();
|
||||
|
||||
}
|
||||
|
@ -1,2 +1,2 @@
|
||||
@echo off
|
||||
"D:\Programme\TortoiseSVN\bin\SubWCRev" . util\rsversion.in util\rsversion.h
|
||||
"D:\Programme\TortoiseSVN\bin\SubWCRev" . util\rsguiversion.in util\rsguiversion.cpp
|
@ -1,34 +1,34 @@
|
||||
/****************************************************************
|
||||
* RetroShare is distributed under the following license:
|
||||
*
|
||||
* Copyright (C) 2006,2007 crypton
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
*
|
||||
* 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; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
|
||||
|
||||
#define GUI_VERSION "0.5.5b"
|
||||
|
||||
#define GUI_REVISION "Revision: $WCREV$"
|
||||
|
||||
|
||||
#include <QString>
|
||||
|
||||
QString retroshareVersion();
|
||||
|
||||
QString retroshareRevision();
|
||||
|
||||
|
||||
/****************************************************************
|
||||
* RetroShare is distributed under the following license:
|
||||
*
|
||||
* Copyright (C) 2006,2007 crypton
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
*
|
||||
* 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; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
|
||||
#include "rsguiversion.h"
|
||||
|
||||
|
||||
#define GUI_VERSION "0.5.5b"
|
||||
#define GUI_REVISION "Revision: $WCREV$"
|
||||
|
||||
QString retroshareVersion() {
|
||||
return QString(GUI_VERSION);
|
||||
}
|
||||
|
||||
QString retroshareRevision() {
|
||||
return QString(GUI_REVISION);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user