mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 14:30:43 -04:00
Add workaround to see debug messages from native code in android service
This commit is contained in:
parent
aca36a3e37
commit
06a1020724
3 changed files with 125 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
|
||||
#ifdef __ANDROID__
|
||||
# include <QtAndroidExtras>
|
||||
# include "util/androiddebug.h"
|
||||
#endif
|
||||
|
||||
#include "retroshare/rsinit.h"
|
||||
|
@ -28,10 +29,15 @@
|
|||
#include "api/ApiServerLocal.h"
|
||||
#include "api/RsControlModule.h"
|
||||
|
||||
|
||||
using namespace resource_api;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
AndroidStdIOCatcher dbg; (void) dbg;
|
||||
#endif
|
||||
|
||||
QCoreApplication a(argc, argv);
|
||||
ApiServer api;
|
||||
RsControlModule ctrl_mod(argc, argv, api.getStateTokenServer(), &api, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue