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:
thunder2 2015-01-14 23:26:51 +00:00
parent 4e8cc9d49f
commit 94ec83fcdb
27 changed files with 156 additions and 210 deletions

View file

@ -54,7 +54,7 @@ extern "C" {
#ifdef WIN32
__declspec(dllexport)
#endif
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
@ -66,11 +66,12 @@ extern "C" {
uint32_t RETROSHARE_PLUGIN_api = RS_PLUGIN_API_VERSION ;
}
void FeedReaderPlugin::getPluginVersion(int& major,int& minor,int& svn_rev) const
void FeedReaderPlugin::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;
}
FeedReaderPlugin::FeedReaderPlugin()

View file

@ -44,7 +44,7 @@ public:
virtual QIcon *qt_icon() const;
virtual QTranslator *qt_translator(QApplication *app, const QString& languageCode, const QString& externalDir) const;
virtual void getPluginVersion(int &major, int &minor, int &svn_rev) const;
virtual void getPluginVersion(int &major, int &minor, int &build, int &svn_rev) const;
virtual void setPlugInHandler(RsPluginHandler *pgHandler);
virtual std::string configurationFileName() const { return "feedreader.cfg" ; }