mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-09 01:25:17 -04:00
* Added second (temporary) switch to turtle.
* Use session switch for OperatingMode. * made OperatingMode temporary - not saved. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5895 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
80dfa620b2
commit
90415627a2
6 changed files with 70 additions and 4 deletions
|
@ -119,8 +119,8 @@ extern RsServerConfig *rsConfig;
|
|||
|
||||
#define RS_OPMODE_FULL 0x0001
|
||||
#define RS_OPMODE_NOTURTLE 0x0002
|
||||
#define RS_OPMODE_GAMING 0x0004
|
||||
#define RS_OPMODE_MINIMAL 0x0008
|
||||
#define RS_OPMODE_GAMING 0x0003
|
||||
#define RS_OPMODE_MINIMAL 0x0004
|
||||
|
||||
|
||||
class RsConfigStartup
|
||||
|
|
|
@ -88,9 +88,14 @@ class RsTurtle
|
|||
RsTurtle() {}
|
||||
virtual ~RsTurtle() {}
|
||||
|
||||
// This is saved permanently.
|
||||
virtual void setEnabled(bool) = 0 ;
|
||||
virtual bool enabled() const = 0 ;
|
||||
|
||||
// This is temporary, used by Operating Mode.
|
||||
virtual void setSessionEnabled(bool) = 0 ;
|
||||
virtual bool sessionEnabled() const = 0 ;
|
||||
|
||||
// Lauches a search request through the pipes, and immediately returns
|
||||
// the request id, which will be further used by the gui to store results
|
||||
// as they come back.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue