added web interface to retroshare-gui

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8165 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
electron128 2015-04-24 14:31:13 +00:00
parent 1b0f59d746
commit 127c104e5e
16 changed files with 362 additions and 13 deletions

View file

@ -46,6 +46,7 @@
#include "gui/NetworkView.h"
#include "lang/languagesupport.h"
#include "util/RsGxsUpdateBroadcast.h"
#include "gui/settings/WebuiPage.h"
#if QT_VERSION >= QT_VERSION_CHECK (5, 0, 0)
#ifdef WINDOWS_SYS
@ -415,10 +416,14 @@ int main(int argc, char *argv[])
notify->enable() ; // enable notification system after GUI creation, to avoid data races in Qt.
WebuiPage::checkStartWebui();
/* dive into the endless loop */
int ti = rshare.exec();
delete w ;
WebuiPage::checkShutdownWebui();
if (eventReceiver) {
/* Destroy event receiver */
delete eventReceiver;