mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-19 10:39:53 -05:00
code to embed webUI server in the main executable (initial version, not yet working)
This commit is contained in:
parent
aabba04be9
commit
6603dbd913
17 changed files with 355 additions and 111 deletions
|
|
@ -25,10 +25,6 @@
|
|||
#include <retroshare/rsplugin.h>
|
||||
#include "rshare.h"
|
||||
|
||||
#ifdef ENABLE_WEBUI
|
||||
#include <microhttpd.h>
|
||||
#endif // ENABLE_WEBUI
|
||||
|
||||
#include <QFile>
|
||||
#include <QTextStream>
|
||||
|
||||
|
|
@ -91,13 +87,13 @@ HelpDialog::HelpDialog(QWidget *parent) :
|
|||
RsControl::instance()->getLibraries(libraries);
|
||||
addLibraries(ui->libraryLayout, "libretroshare", libraries);
|
||||
|
||||
#ifdef ENABLE_WEBUI
|
||||
/* Add version numbers of RetroShare */
|
||||
// Add versions here. Find a better place.
|
||||
libraries.clear();
|
||||
libraries.push_back(RsLibraryInfo("Libmicrohttpd", MHD_get_version()));
|
||||
addLibraries(ui->libraryLayout, "RetroShare", libraries);
|
||||
#endif // ENABLE_WEBUI
|
||||
// #ifdef RS_WEBUI
|
||||
// /* Add version numbers of RetroShare */
|
||||
// // Add versions here. Find a better place.
|
||||
// libraries.clear();
|
||||
// libraries.push_back(RsLibraryInfo("Restbed", restbed::get_version()));
|
||||
// addLibraries(ui->libraryLayout, "RetroShare", libraries);
|
||||
// #endif // ENABLE_WEBUI
|
||||
|
||||
/* Add version numbers of plugins */
|
||||
if (rsPlugins) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue