mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
Removed version files from retroshare-gui.
Moved header file with version information to retroshare/rsversion.h. Added version information to Windows executable. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7845 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4e8cc9d49f
commit
94ec83fcdb
27 changed files with 156 additions and 210 deletions
|
@ -32,7 +32,7 @@
|
|||
#include <vector>
|
||||
#include "retroshare/rspeers.h"
|
||||
#include "retroshare/rsfiles.h"
|
||||
#include "util/rsversion.h"
|
||||
#include "retroshare/rsversion.h"
|
||||
#include "util/rsinitedptr.h"
|
||||
|
||||
class RsPluginHandler ;
|
||||
|
@ -184,11 +184,11 @@ class RsPlugin
|
|||
//
|
||||
// All these items appear in the config->plugins tab, as a description of the plugin.
|
||||
//
|
||||
uint32_t getSvnRevision() const { return SVN_REVISION_NUMBER ; } // This is read from libretroshare/util/rsversion.h
|
||||
uint32_t getSvnRevision() const { return RS_REVISION_NUMBER ; } // This is read from libretroshare/retroshare/rsversion.h
|
||||
|
||||
virtual std::string getShortPluginDescription() const = 0 ;
|
||||
virtual std::string getPluginName() const = 0 ;
|
||||
virtual void getPluginVersion(int& major,int& minor,int& svn_rev) const = 0 ;
|
||||
virtual void getPluginVersion(int& major,int& minor, int& build, int& svn_rev) const = 0 ;
|
||||
|
||||
//
|
||||
//========================== Plugin Interface ================================//
|
||||
|
|
5
libretroshare/src/retroshare/rsversion.h
Normal file
5
libretroshare/src/retroshare/rsversion.h
Normal file
|
@ -0,0 +1,5 @@
|
|||
#define RS_MAJOR_VERSION 0
|
||||
#define RS_MINOR_VERSION 6
|
||||
#define RS_BUILD_NUMBER 0
|
||||
#define RS_BUILD_NUMBER_ADD "x" // <-- do we need this?
|
||||
#define RS_REVISION_NUMBER 7843
|
5
libretroshare/src/retroshare/rsversion.in
Normal file
5
libretroshare/src/retroshare/rsversion.in
Normal file
|
@ -0,0 +1,5 @@
|
|||
#define RS_MAJOR_VERSION 0
|
||||
#define RS_MINOR_VERSION 6
|
||||
#define RS_BUILD_NUMBER 0
|
||||
#define RS_BUILD_NUMBER_ADD "x" // <-- do we need this?
|
||||
#define RS_REVISION_NUMBER $WCREV$
|
Loading…
Add table
Add a link
Reference in a new issue