From a3901d2b6b982ab75c0bbaf2c74ba642504c8a8a Mon Sep 17 00:00:00 2001 From: thunder2 Date: Sun, 16 Dec 2012 21:22:14 +0000 Subject: [PATCH] Added pegmarkdown to the main project file. Added revision number to the FeedReader plugin. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5998 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- RetroShare.pro | 1 + plugins/FeedReader/FeedReaderPlugin.cpp | 22 ++++++++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/RetroShare.pro b/RetroShare.pro index 99540b372..cc99ed775 100644 --- a/RetroShare.pro +++ b/RetroShare.pro @@ -2,6 +2,7 @@ TEMPLATE = subdirs SUBDIRS += \ openpgpsdk/src/openpgpsdk.pro \ + supportlibs/pegmarkdown/pegmarkdown.pro \ libbitdht/src/libbitdht.pro \ libretroshare/src/libretroshare.pro \ retroshare-gui/src/retroshare-gui.pro \ diff --git a/plugins/FeedReader/FeedReaderPlugin.cpp b/plugins/FeedReader/FeedReaderPlugin.cpp index c83be2c37..0ffb52f39 100644 --- a/plugins/FeedReader/FeedReaderPlugin.cpp +++ b/plugins/FeedReader/FeedReaderPlugin.cpp @@ -44,13 +44,31 @@ extern "C" { return (void*)p; } + + // 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 + // with same revision numbers, assuming that the revision numbers are up-to-date. + // +#ifdef WIN32 + __declspec(dllexport) +#endif + uint32_t RETROSHARE_PLUGIN_revision = SVN_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 + // with same revision numbers, assuming that the revision numbers are up-to-date. + // +#ifdef WIN32 + __declspec(dllexport) +#endif + uint32_t RETROSHARE_PLUGIN_api = RS_PLUGIN_API_VERSION ; } void FeedReaderPlugin::getPluginVersion(int& major,int& minor,int& svn_rev) const { major = 5; - minor = 1; - svn_rev = 4350; + minor = 4; + svn_rev = SVN_REVISION_NUMBER; } FeedReaderPlugin::FeedReaderPlugin()