mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
fix for windows plugin system
uses call back to expose the retroshare interface to plugins git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4633 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2173ee0d2e
commit
c1af9b13ad
14 changed files with 179 additions and 52 deletions
|
@ -51,12 +51,18 @@ class RsPluginManager: public RsPluginHandler, public p3Config
|
|||
virtual void addConfigurations(p3ConfigMgr *cfgMgr) ;
|
||||
virtual void loadConfiguration() ;
|
||||
|
||||
/*!
|
||||
* sets interfaces for all loaded plugins
|
||||
* @param interfaces
|
||||
*/
|
||||
void setInterfaces(RsPlugInInterfaces& interfaces);
|
||||
static void setPluginEntrySymbol(const std::string& s) { _plugin_entry_symbol = s ; }
|
||||
static bool acceptablePluginName(const std::string& s) ;
|
||||
static void setCacheDirectories(const std::string& local,const std::string& remote) ;
|
||||
static void setFileServer(ftServer *ft) { _ftserver = ft ; }
|
||||
static void setLinkMgr(p3LinkMgr *cm) { _linkmgr = cm ; }
|
||||
|
||||
|
||||
void loadPlugins(const std::vector<std::string>& plugin_directories) ;
|
||||
|
||||
void registerCacheServices() ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue