mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-29 09:18:45 -04:00
allow RsControlModule to work without control over RsInit (e.g. with rs-gui)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8074 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
74dd9f7b7b
commit
cb6860a08d
3 changed files with 9 additions and 4 deletions
|
@ -24,7 +24,9 @@ class RsControlModule: public ResourceRouter, NotifyClient,
|
|||
{
|
||||
public:
|
||||
// ApiServer will be called once RS is started, to load additional api modules
|
||||
RsControlModule(int argc, char **argv, StateTokenServer* sts, ApiServer* apiserver);
|
||||
// full_control: set to true if this module should handle rsinit and login
|
||||
// set to false if rsinit is handled by the Qt gui
|
||||
RsControlModule(int argc, char **argv, StateTokenServer* sts, ApiServer* apiserver, bool full_control);
|
||||
~RsControlModule();
|
||||
|
||||
// returns true if the process should terminate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue