mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -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
|
@ -1,5 +1,5 @@
|
|||
#include <retroshare/rsplugin.h>
|
||||
#include <util/rsversion.h>
|
||||
#include <retroshare/rsversion.h>
|
||||
#include <retroshare-gui/RsAutoUpdatePage.h>
|
||||
#include <QTranslator>
|
||||
#include <QApplication>
|
||||
|
@ -40,7 +40,7 @@ extern "C" {
|
|||
// It will be tested by RS to load the plugin automatically, since it is safe to load plugins
|
||||
// with same revision numbers, assuming that the revision numbers are up-to-date.
|
||||
//
|
||||
uint32_t RETROSHARE_PLUGIN_revision = SVN_REVISION_NUMBER ;
|
||||
uint32_t RETROSHARE_PLUGIN_revision = RS_REVISION_NUMBER ;
|
||||
|
||||
// This symbol contains the svn revision number grabbed from the executable.
|
||||
// It will be tested by RS to load the plugin automatically, since it is safe to load plugins
|
||||
|
@ -49,11 +49,12 @@ extern "C" {
|
|||
uint32_t RETROSHARE_PLUGIN_api = RS_PLUGIN_API_VERSION ;
|
||||
}
|
||||
|
||||
void VOIPPlugin::getPluginVersion(int& major,int& minor,int& svn_rev) const
|
||||
void VOIPPlugin::getPluginVersion(int& major, int& minor, int& build, int& svn_rev) const
|
||||
{
|
||||
major = 5 ;
|
||||
minor = 4 ;
|
||||
svn_rev = SVN_REVISION_NUMBER ;
|
||||
major = RS_MAJOR_VERSION ;
|
||||
minor = RS_MINOR_VERSION ;
|
||||
build = RS_BUILD_NUMBER ;
|
||||
svn_rev = RS_REVISION_NUMBER ;
|
||||
}
|
||||
|
||||
VOIPPlugin::VOIPPlugin()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue