mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
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:
parent
0ad20e6911
commit
bd0b1a5ac5
6 changed files with 18 additions and 12 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue