mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 05:39:11 -04:00
retroshare-gui now handle JsonApiServer too
This commit is contained in:
parent
1c7f02655e
commit
ccabf82e60
10 changed files with 461 additions and 26 deletions
|
@ -50,6 +50,10 @@
|
|||
# include "WebuiPage.h"
|
||||
#endif
|
||||
|
||||
#ifdef RS_JSONAPI
|
||||
# include "JsonApiPage.h"
|
||||
#endif
|
||||
|
||||
#define IMAGE_GENERAL ":/images/kcmsystem24.png"
|
||||
|
||||
#define ITEM_SPACING 2
|
||||
|
@ -165,8 +169,12 @@ SettingsPage::initStackedWidget()
|
|||
#ifdef ENABLE_WEBUI
|
||||
addPage(new WebuiPage() );
|
||||
#endif // ENABLE_WEBUI
|
||||
// add widgets from plugins
|
||||
|
||||
#ifdef RS_JSONAPI
|
||||
addPage(new JsonApiPage());
|
||||
#endif
|
||||
|
||||
// add widgets from plugins
|
||||
for(int i=0;i<rsPlugins->nbPlugins();++i)
|
||||
{
|
||||
RsPlugin *pl = rsPlugins->plugin(i) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue