added p3FileLists service

This commit is contained in:
mr-alice 2016-07-20 15:28:55 -04:00
parent b31e396c2b
commit 3e20b9ddf7
3 changed files with 19 additions and 3 deletions

View File

@ -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: " ;

View File

@ -19,6 +19,8 @@
// 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>

View File

@ -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 \