diff --git a/CMakeLists.txt b/CMakeLists.txt index a41b733be..ce27c7ea2 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -428,9 +428,11 @@ set(APP_SOURCES src/services/standard/gui/formstandardfeeddetails.cpp src/services/standard/gui/formstandardimportexport.cpp src/services/standard/standardserviceentrypoint.cpp + src/services/standard/standardserviceroot.cpp # TT-RSS feed service sources. src/services/tt-rss/ttrssserviceentrypoint.cpp + src/services/tt-rss/ttrssserviceroot.cpp # NETWORK-WEB sources. src/network-web/basenetworkaccessmanager.cpp diff --git a/src/services/abstract/serviceroot.cpp b/src/services/abstract/serviceroot.cpp index 0d437c68c..109f00ead 100755 --- a/src/services/abstract/serviceroot.cpp +++ b/src/services/abstract/serviceroot.cpp @@ -18,7 +18,7 @@ #include "services/abstract/serviceroot.h" -ServiceRoot::ServiceRoot() { +ServiceRoot::ServiceRoot(RootItem *parent) : RootItem(parent) { } ServiceRoot::~ServiceRoot() { diff --git a/src/services/abstract/serviceroot.h b/src/services/abstract/serviceroot.h index 41b318e60..1355f1fb7 100755 --- a/src/services/abstract/serviceroot.h +++ b/src/services/abstract/serviceroot.h @@ -18,11 +18,15 @@ #ifndef SERVICEROOT_H #define SERVICEROOT_H +#include "core/rootitem.h" + + // THIS IS the root node of the service. -// TODO: Inherit proper base root class for this. -class ServiceRoot { +// NOTE: The root usually contains some core functionality of the +// service like service account username/password etc. +class ServiceRoot : public RootItem { public: - explicit ServiceRoot(); + explicit ServiceRoot(RootItem *parent = NULL); virtual ~ServiceRoot(); };