mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
Improvement to plugin system:
- made config page system more automatic, to allow addign config pages from plugins - added (disabled) checkbox and function to allow all plugins for development - added config page methods to RsPlugin class git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4957 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
13283b40ee
commit
5679a30e67
25 changed files with 220 additions and 300 deletions
|
@ -40,6 +40,9 @@ class RsPluginManager: public RsPluginHandler, public p3Config
|
|||
virtual ftServer *getFileServer() const ;
|
||||
virtual p3LinkMgr *getLinkMgr() const ;
|
||||
|
||||
virtual void allowAllPlugins(bool b) ;
|
||||
virtual bool getAllowAllPlugins() const ;
|
||||
|
||||
// ---------------- Derived from p3Config -------------------//
|
||||
//
|
||||
bool saveList(bool& cleanup, std::list<RsItem*>& list) ;
|
||||
|
@ -84,6 +87,7 @@ class RsPluginManager: public RsPluginHandler, public p3Config
|
|||
|
||||
std::vector<PluginInfo> _plugins ;
|
||||
std::set<std::string> _accepted_hashes ;
|
||||
bool _allow_all_plugins ;
|
||||
|
||||
static std::string _plugin_entry_symbol ;
|
||||
static std::string _remote_cache_dir ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue