mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-25 09:11:28 -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 <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();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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
|
@ -19,16 +19,16 @@
|
|||||||
* Boston, MA 02110-1301, USA.
|
* Boston, MA 02110-1301, USA.
|
||||||
****************************************************************/
|
****************************************************************/
|
||||||
|
|
||||||
|
#include "rsguiversion.h"
|
||||||
|
|
||||||
|
|
||||||
#define GUI_VERSION "0.5.5b"
|
#define GUI_VERSION "0.5.5b"
|
||||||
|
|
||||||
#define GUI_REVISION "Revision: $WCREV$"
|
#define GUI_REVISION "Revision: $WCREV$"
|
||||||
|
|
||||||
|
QString retroshareVersion() {
|
||||||
|
return QString(GUI_VERSION);
|
||||||
|
}
|
||||||
|
|
||||||
#include <QString>
|
QString retroshareRevision() {
|
||||||
|
return QString(GUI_REVISION);
|
||||||
QString retroshareVersion();
|
}
|
||||||
|
|
||||||
QString retroshareRevision();
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user