Updated SVN revision number for v0.5.5b.

Moved #defines to code files for better encapsulation.
Removed other references to #defines.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6877 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2013-10-25 00:42:49 +00:00
parent 0ad20e6911
commit bd0b1a5ac5
6 changed files with 18 additions and 12 deletions

View file

@ -7,8 +7,18 @@
#include "rsversion.h"
#define LIB_VERSION "0.5.5b"
#define SVN_REVISION "Revision 6877"
#define SVN_REVISION_NUMBER 6877
std::string RsUtil::retroshareVersion()
{
return std::string(LIB_VERSION) + " " + std::string(SVN_REVISION);
}
uint32_t RsUtil::retroshareRevision()
{
return SVN_REVISION_NUMBER;
}

View file

@ -6,13 +6,11 @@
*/
#include <string>
#define LIB_VERSION "0.5.5b"
#define SVN_REVISION "Revision 6722"
#define SVN_REVISION_NUMBER 6722
#include <inttypes.h>
namespace RsUtil {
uint32_t retroshareRevision();
std::string retroshareVersion();
}