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

@ -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();