mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added p3FileLists service
This commit is contained in:
parent
b31e396c2b
commit
3e20b9ddf7
@ -1,5 +1,5 @@
|
||||
#include <p3filelists.h>
|
||||
#include <retroshare/rsids.h>
|
||||
#include "file_sharing/p3filelists.h"
|
||||
#include "retroshare/rsids.h"
|
||||
|
||||
#define P3FILELISTS_DEBUG() std::cerr << "p3FileLists: " ;
|
||||
|
||||
|
@ -19,10 +19,12 @@
|
||||
// The file lists are not directry updated. A FileListWatcher class is responsible for this
|
||||
// in every case.
|
||||
//
|
||||
#pragma once
|
||||
|
||||
#include <services/p3service.h>
|
||||
#include <pqi/p3cfgmgr.h>
|
||||
|
||||
class p3FileLists: public p3Service, public p3Config, public RsSharedFileService
|
||||
class p3FileLists: public p3Service, public p3Config, public RsSharedFileService
|
||||
{
|
||||
public:
|
||||
typedef uint64_t EntryIndex ; // this should probably be defined elsewhere
|
||||
|
@ -33,6 +33,20 @@ debug {
|
||||
QMAKE_CXXFLAGS *= -g -fno-omit-frame-pointer
|
||||
}
|
||||
|
||||
CONFIG += file_lists
|
||||
|
||||
file_lists {
|
||||
HEADERS *= file_sharing/p3filelists.h \
|
||||
file_sharing/hash_cache.h \
|
||||
file_sharing/directory_storage.h \
|
||||
file_sharing/directory_updater.h
|
||||
|
||||
SOURCES *= file_sharing/p3filelists.cc \
|
||||
file_sharing/hash_cache.cc \
|
||||
file_sharing/directory_storage.cc \
|
||||
file_sharing/directory_updater.cc
|
||||
}
|
||||
|
||||
dsdv {
|
||||
DEFINES *= SERVICES_DSDV
|
||||
HEADERS += services/p3dsdv.h \
|
||||
|
Loading…
Reference in New Issue
Block a user