From 97866f984a377ee5d6a1a5786fe4de491517d248 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Sun, 6 Dec 2015 20:07:26 +0100 Subject: [PATCH] Added empty feed & category classes. --- CMakeLists.txt | 2 ++ src/services/tt-rss/ttrsscategory.cpp | 25 ++++++++++++++++++++++ src/services/tt-rss/ttrsscategory.h | 30 +++++++++++++++++++++++++++ src/services/tt-rss/ttrssfeed.cpp | 26 +++++++++++++++++++++++ src/services/tt-rss/ttrssfeed.h | 30 +++++++++++++++++++++++++++ 5 files changed, 113 insertions(+) create mode 100644 src/services/tt-rss/ttrsscategory.cpp create mode 100644 src/services/tt-rss/ttrsscategory.h create mode 100644 src/services/tt-rss/ttrssfeed.cpp create mode 100644 src/services/tt-rss/ttrssfeed.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a670a27e..821c6a69a 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -439,6 +439,8 @@ set(APP_SOURCES # TT-RSS feed service sources. src/services/tt-rss/ttrssserviceentrypoint.cpp src/services/tt-rss/ttrssserviceroot.cpp + src/services/tt-rss/ttrssfeed.cpp + src/services/tt-rss/ttrsscategory.cpp src/services/tt-rss/gui/formeditaccount.cpp src/services/tt-rss/network/ttrssnetworkfactory.cpp diff --git a/src/services/tt-rss/ttrsscategory.cpp b/src/services/tt-rss/ttrsscategory.cpp new file mode 100644 index 000000000..4fc96230b --- /dev/null +++ b/src/services/tt-rss/ttrsscategory.cpp @@ -0,0 +1,25 @@ +// This file is part of RSS Guard. +// +// Copyright (C) 2011-2015 by Martin Rotter +// +// RSS Guard is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// RSS Guard is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with RSS Guard. If not, see . + +#include "ttrsscategory.h" + + +TtRssCategory::TtRssCategory(RootItem *parent) : Category(parent) { +} + +TtRssCategory::~TtRssCategory() { +} diff --git a/src/services/tt-rss/ttrsscategory.h b/src/services/tt-rss/ttrsscategory.h new file mode 100644 index 000000000..2758d2c78 --- /dev/null +++ b/src/services/tt-rss/ttrsscategory.h @@ -0,0 +1,30 @@ +// This file is part of RSS Guard. +// +// Copyright (C) 2011-2015 by Martin Rotter +// +// RSS Guard is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// RSS Guard is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with RSS Guard. If not, see . + +#ifndef TTRSSCATEGORY_H +#define TTRSSCATEGORY_H + +#include "services/abstract/category.h" + + +class TtRssCategory : public Category { + public: + explicit TtRssCategory(RootItem *parent = NULL); + virtual ~TtRssCategory(); +}; + +#endif // TTRSSCATEGORY_H diff --git a/src/services/tt-rss/ttrssfeed.cpp b/src/services/tt-rss/ttrssfeed.cpp new file mode 100644 index 000000000..e12fbefc2 --- /dev/null +++ b/src/services/tt-rss/ttrssfeed.cpp @@ -0,0 +1,26 @@ +// This file is part of RSS Guard. +// +// Copyright (C) 2011-2015 by Martin Rotter +// +// RSS Guard is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// RSS Guard is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with RSS Guard. If not, see . + +#include "ttrssfeed.h" + + +TtRssFeed::TtRssFeed(RootItem *parent) : Feed(parent) { +} + +TtRssFeed::~TtRssFeed() { +} + diff --git a/src/services/tt-rss/ttrssfeed.h b/src/services/tt-rss/ttrssfeed.h new file mode 100644 index 000000000..b947e805d --- /dev/null +++ b/src/services/tt-rss/ttrssfeed.h @@ -0,0 +1,30 @@ +// This file is part of RSS Guard. +// +// Copyright (C) 2011-2015 by Martin Rotter +// +// RSS Guard is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// RSS Guard is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with RSS Guard. If not, see . + +#ifndef TTRSSFEED_H +#define TTRSSFEED_H + +#include + + +class TtRssFeed : public Feed { + public: + explicit TtRssFeed(RootItem *parent = NULL); + virtual ~TtRssFeed(); +}; + +#endif // TTRSSFEED_H