mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-13 09:03:33 -04:00
Merge branch 'master' into merge_alpha_master
This commit is contained in:
commit
4455bfa92d
110 changed files with 2395 additions and 629 deletions
retroshare-android-service/src
|
@ -24,12 +24,10 @@
|
|||
# include "util/androiddebug.h"
|
||||
#endif
|
||||
|
||||
#include "retroshare/rsinit.h"
|
||||
#include "api/ApiServer.h"
|
||||
#include "api/ApiServerLocal.h"
|
||||
#include "api/RsControlModule.h"
|
||||
|
||||
|
||||
using namespace resource_api;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
@ -46,7 +44,12 @@ int main(int argc, char *argv[])
|
|||
dynamic_cast<resource_api::ResourceRouter*>(&ctrl_mod),
|
||||
&resource_api::RsControlModule::handleRequest);
|
||||
|
||||
QString sockPath = QString::fromStdString(RsAccounts::ConfigDirectory());
|
||||
#ifdef QT_DEBUG
|
||||
QString sockPath = "RS/";
|
||||
#else
|
||||
QString sockPath = QCoreApplication::applicationDirPath();
|
||||
#endif
|
||||
|
||||
sockPath.append("/libresapi.sock");
|
||||
qDebug() << "Listening on:" << sockPath;
|
||||
ApiServerLocal apiServerLocal(&api, sockPath); (void) apiServerLocal;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue