mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-12 08:33:05 -04:00
Improvements to GXS services.
* Added serialiser for wiki items (actual data to be finalised). * Added wiki and fixed id services to be run properly. * Disabled dummyData for ids. * Fixed some bugs in Id serialiser. * Added missing fns in p3wiki git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5748 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f444869271
commit
92969c2f58
7 changed files with 628 additions and 15 deletions
|
@ -678,6 +678,9 @@ void p3IdService::generateDummyData()
|
|||
{
|
||||
RsStackMutex stack(mIdMtx); /********** STACK LOCKED MTX ******/
|
||||
|
||||
// Temporarily disable - until system is properly tested.
|
||||
return;
|
||||
|
||||
/* grab all the gpg ids... and make some ids */
|
||||
|
||||
std::list<std::string> gpgids;
|
||||
|
|
|
@ -40,6 +40,12 @@ p3Wiki::p3Wiki(RsGeneralDataService* gds, RsNetworkExchangeService* nes)
|
|||
|
||||
}
|
||||
|
||||
void p3Wiki::service_tick()
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
void p3Wiki::notifyChanges(std::vector<RsGxsNotify*>& changes)
|
||||
{
|
||||
receiveChanges(changes);
|
||||
|
|
|
@ -49,6 +49,8 @@ virtual void notifyChanges(std::vector<RsGxsNotify*>& changes) ;
|
|||
|
||||
public:
|
||||
|
||||
virtual void service_tick();
|
||||
|
||||
/* Specific Service Data */
|
||||
virtual bool getCollections(const uint32_t &token, std::vector<RsWikiCollection> &collections);
|
||||
virtual bool getSnapshots(const uint32_t &token, std::vector<RsWikiSnapshot> &snapshots);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue