mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 03:06:31 -04:00
created 2 subclasses of RsThread, one for ticking services, and one for single shot jobs. Now all threads use the same base code.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8288 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f2d4a237ca
commit
e9b9dce9f5
28 changed files with 317 additions and 335 deletions
|
@ -96,7 +96,7 @@ public:
|
|||
virtual void setGPGOperation(AuthGPGOperation *operation) = 0;
|
||||
};
|
||||
|
||||
class AuthGPG: public p3Config, public RsThread, public PGPHandler
|
||||
class AuthGPG: public p3Config, public RsTickingThread, public PGPHandler
|
||||
{
|
||||
public:
|
||||
|
||||
|
@ -274,7 +274,7 @@ class AuthGPG: public p3Config, public RsThread, public PGPHandler
|
|||
bool printOwnKeys_locked();
|
||||
|
||||
/* own thread */
|
||||
virtual void run();
|
||||
virtual void data_tick();
|
||||
|
||||
private:
|
||||
|
||||
|
@ -295,7 +295,8 @@ class AuthGPG: public p3Config, public RsThread, public PGPHandler
|
|||
|
||||
RsPgpId mOwnGpgId;
|
||||
bool gpgKeySelected;
|
||||
bool _force_sync_database ;
|
||||
bool _force_sync_database ;
|
||||
uint32_t mCount ;
|
||||
|
||||
std::list<AuthGPGService*> services ;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue