mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 03:22:34 -04:00
Added a display for file hashing activity using notifyQt class. This time it works nicely.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@938 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c7adb4907c
commit
80a8b41d66
15 changed files with 61 additions and 63 deletions
|
@ -30,6 +30,7 @@ const int ftserverzone = 29539;
|
|||
#include "ft/ftextralist.h"
|
||||
#include "ft/ftfilesearch.h"
|
||||
#include "ft/ftcontroller.h"
|
||||
#include "ft/ftfileprovider.h"
|
||||
#include "ft/ftdatamultiplex.h"
|
||||
|
||||
|
||||
|
@ -125,7 +126,7 @@ void ftServer::SetupFtServer(NotifyBase *cb)
|
|||
|
||||
/* Make Cache Source/Store */
|
||||
mFiStore = new ftFiStore(mCacheStrapper, mFtController, cb, ownId, remotecachedir);
|
||||
mFiMon = new ftFiMonitor(mCacheStrapper, localcachedir, ownId);
|
||||
mFiMon = new ftFiMonitor(mCacheStrapper,cb, localcachedir, ownId);
|
||||
|
||||
/* now add the set to the cachestrapper */
|
||||
CachePair cp(mFiMon, mFiStore, CacheId(RS_SERVICE_TYPE_FILE_INDEX, 0));
|
||||
|
@ -424,10 +425,6 @@ bool ftServer::InDirectoryCheck()
|
|||
{
|
||||
return mFiMon->inDirectoryCheck();
|
||||
}
|
||||
void ftServer::setFileHashingCallback( void (*cb)(const std::string&) )
|
||||
{
|
||||
mFiMon->setFileHashingCallback( cb ) ;
|
||||
}
|
||||
|
||||
bool ftServer::getSharedDirectories(std::list<std::string> &dirs)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue