mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
03e6fb8a4a
commit
7be86dc0e9
@ -148,7 +148,7 @@ class RsPlugin
|
|||||||
//
|
//
|
||||||
// All these items appear in the config->plugins tab, as a description of the plugin.
|
// 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 getShortPluginDescription() const = 0 ;
|
||||||
virtual std::string getPluginName() const = 0 ;
|
virtual std::string getPluginName() const = 0 ;
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
#include "rsversion.h"
|
#include "rsversion.h"
|
||||||
|
|
||||||
#define LIB_VERSION "0.5.5b"
|
#define LIB_VERSION "0.5.5b"
|
||||||
#define SVN_REVISION "Revision 6877"
|
|
||||||
#define SVN_REVISION_NUMBER 6877
|
|
||||||
|
|
||||||
std::string RsUtil::retroshareVersion()
|
std::string RsUtil::retroshareVersion()
|
||||||
{
|
{
|
||||||
|
@ -8,6 +8,12 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <inttypes.h>
|
#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 {
|
namespace RsUtil {
|
||||||
|
|
||||||
uint32_t retroshareRevision();
|
uint32_t retroshareRevision();
|
||||||
|
Loading…
Reference in New Issue
Block a user