Added so-far empty service root node classes.

This commit is contained in:
Martin Rotter 2015-10-30 11:14:15 +01:00
parent 4eb76509a8
commit d390ea2df6
3 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -18,7 +18,7 @@
#include "services/abstract/serviceroot.h"
ServiceRoot::ServiceRoot() {
ServiceRoot::ServiceRoot(RootItem *parent) : RootItem(parent) {
}
ServiceRoot::~ServiceRoot() {

View File

@ -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();
};