fixed up versioning stuffup.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6891 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2013-11-05 23:14:30 +00:00
parent 03e6fb8a4a
commit 7be86dc0e9
3 changed files with 7 additions and 3 deletions

View File

@ -148,7 +148,7 @@ class RsPlugin
//
// All these items appear in the config->plugins tab, as a description of the plugin.
//
uint32_t getSvnRevision() const { return RsUtil::retroshareRevision(); } // This is read from libretroshare/util/rsversion.h
uint32_t getSvnRevision() const { return SVN_REVISION_NUMBER ; } // This is read from libretroshare/util/rsversion.h
virtual std::string getShortPluginDescription() const = 0 ;
virtual std::string getPluginName() const = 0 ;

View File

@ -8,8 +8,6 @@
#include "rsversion.h"
#define LIB_VERSION "0.5.5b"
#define SVN_REVISION "Revision 6877"
#define SVN_REVISION_NUMBER 6877
std::string RsUtil::retroshareVersion()
{

View File

@ -8,6 +8,12 @@
#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 SVN_REVISION "Revision 6890"
#define SVN_REVISION_NUMBER 6890
namespace RsUtil {
uint32_t retroshareRevision();