mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -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
|
@ -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()
|
||||
|
|
|
@ -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" ; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue