diff --git a/CMakeLists.txt b/CMakeLists.txt index 821c6a69a..b3d3086de 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -441,6 +441,7 @@ set(APP_SOURCES src/services/tt-rss/ttrssserviceroot.cpp src/services/tt-rss/ttrssfeed.cpp src/services/tt-rss/ttrsscategory.cpp + src/services/tt-rss/ttrssrecyclebin.cpp src/services/tt-rss/gui/formeditaccount.cpp src/services/tt-rss/network/ttrssnetworkfactory.cpp @@ -559,6 +560,9 @@ set(APP_HEADERS # TT-RSS service headers. src/services/tt-rss/ttrssserviceroot.h + src/services/tt-rss/ttrssrecyclebin.h + src/services/tt-rss/ttrssfeed.h + src/services/tt-rss/ttrsscategory.h src/services/tt-rss/gui/formeditaccount.h # NETWORK-WEB headers. diff --git a/src/services/tt-rss/ttrssrecyclebin.cpp b/src/services/tt-rss/ttrssrecyclebin.cpp new file mode 100644 index 000000000..31d566825 --- /dev/null +++ b/src/services/tt-rss/ttrssrecyclebin.cpp @@ -0,0 +1,35 @@ +// 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 "services/tt-rss/ttrssrecyclebin.h" + + +TtRssRecycleBin::TtRssRecycleBin(QObject *parent) : RecycleBin(parent) { + +} + +TtRssRecycleBin::~TtRssRecycleBin() { +} + +bool TtRssRecycleBin::empty() { + return false; +} + +bool TtRssRecycleBin::restore() { + return false; +} + diff --git a/src/services/tt-rss/ttrssrecyclebin.h b/src/services/tt-rss/ttrssrecyclebin.h new file mode 100644 index 000000000..cc24ee7f5 --- /dev/null +++ b/src/services/tt-rss/ttrssrecyclebin.h @@ -0,0 +1,35 @@ +// 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 TTRSSRECYCLEBIN_H +#define TTRSSRECYCLEBIN_H + +#include "services/abstract/recyclebin.h" + + +class TtRssRecycleBin : public RecycleBin { + Q_OBJECT + + public: + explicit TtRssRecycleBin(QObject *parent = 0); + virtual ~TtRssRecycleBin(); + + bool empty(); + bool restore(); +}; + +#endif // TTRSSRECYCLEBIN_H