mirror of
https://github.com/martinrotter/rssguard.git
synced 2024-12-25 15:42:37 +01:00
Remove wallabag code, not good API to use.
This commit is contained in:
parent
df79fc1a8a
commit
690295ad14
@ -296,9 +296,6 @@ file( GLOB APP_SOURCES_GL
|
|||||||
"src/services/owncloud/*.cpp"
|
"src/services/owncloud/*.cpp"
|
||||||
"src/services/owncloud/network/*.cpp"
|
"src/services/owncloud/network/*.cpp"
|
||||||
"src/services/owncloud/gui/*.cpp"
|
"src/services/owncloud/gui/*.cpp"
|
||||||
"src/services/wallabag/*.cpp"
|
|
||||||
"src/services/wallabag/network/*.cpp"
|
|
||||||
"src/services/wallabag/gui/*.cpp"
|
|
||||||
"src/network-web/*.cpp"
|
"src/network-web/*.cpp"
|
||||||
"src/*.cpp")
|
"src/*.cpp")
|
||||||
|
|
||||||
@ -330,9 +327,6 @@ file( GLOB APP_HEADERS
|
|||||||
"src/services/owncloud/*.h"
|
"src/services/owncloud/*.h"
|
||||||
"src/services/owncloud/network/*.h"
|
"src/services/owncloud/network/*.h"
|
||||||
"src/services/owncloud/gui/*.h"
|
"src/services/owncloud/gui/*.h"
|
||||||
"src/services/wallabag/*.h"
|
|
||||||
"src/services/wallabag/network/*.h"
|
|
||||||
"src/services/wallabag/gui/*.h"
|
|
||||||
"src/network-web/*.h")
|
"src/network-web/*.h")
|
||||||
|
|
||||||
# APP forms.
|
# APP forms.
|
||||||
@ -342,7 +336,6 @@ file( GLOB APP_FORMS
|
|||||||
"src/services/standard/gui/*.ui"
|
"src/services/standard/gui/*.ui"
|
||||||
"src/services/tt-rss/gui/*.ui"
|
"src/services/tt-rss/gui/*.ui"
|
||||||
"src/services/owncloud/gui/*.ui"
|
"src/services/owncloud/gui/*.ui"
|
||||||
"src/services/wallabag/gui/*.ui"
|
|
||||||
"src/network-web/*.ui")
|
"src/network-web/*.ui")
|
||||||
|
|
||||||
# APP translations.
|
# APP translations.
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 4.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 409 B |
Binary file not shown.
Before Width: | Height: | Size: 362 B |
@ -1,30 +0,0 @@
|
|||||||
// This file is part of RSS Guard.
|
|
||||||
//
|
|
||||||
// Copyright (C) 2011-2016 by Martin Rotter <rotter.martinos@gmail.com>
|
|
||||||
//
|
|
||||||
// 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 <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
#ifndef WALLABAG_DEFINITIONS_H
|
|
||||||
#define WALLABAG_DEFINITIONS_H
|
|
||||||
|
|
||||||
// TODO: todo
|
|
||||||
|
|
||||||
//
|
|
||||||
// http://v2.wallabag.org
|
|
||||||
// http://v2.wallabag.org/api/doc
|
|
||||||
// http://v2.wallabag.org/developer
|
|
||||||
//
|
|
||||||
|
|
||||||
#endif // WALLABAG_DEFINITIONS_H
|
|
||||||
|
|
@ -1,68 +0,0 @@
|
|||||||
// This file is part of RSS Guard.
|
|
||||||
//
|
|
||||||
// Copyright (C) 2011-2016 by Martin Rotter <rotter.martinos@gmail.com>
|
|
||||||
//
|
|
||||||
// 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 <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
#include "services/wallabag/wallabagserviceentrypoint.h"
|
|
||||||
|
|
||||||
#include "miscellaneous/application.h"
|
|
||||||
#include "miscellaneous/iconfactory.h"
|
|
||||||
#include "gui/messagebox.h"
|
|
||||||
#include "gui/dialogs/formmain.h"
|
|
||||||
|
|
||||||
|
|
||||||
WallabagServiceEntryPoint::WallabagServiceEntryPoint() {
|
|
||||||
}
|
|
||||||
|
|
||||||
WallabagServiceEntryPoint::~WallabagServiceEntryPoint() {
|
|
||||||
}
|
|
||||||
|
|
||||||
ServiceRoot *WallabagServiceEntryPoint::createNewRoot() const {
|
|
||||||
MessageBox::show(qApp->mainForm(), QMessageBox::Warning, QObject::tr("Not yet supported"),
|
|
||||||
QObject::tr("This plugin is not yet ready for usage. It will be added in future versions."));
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
QList<ServiceRoot*> WallabagServiceEntryPoint::initializeSubtree() const {
|
|
||||||
return QList<ServiceRoot*>();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool WallabagServiceEntryPoint::isSingleInstanceService() const {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
QString WallabagServiceEntryPoint::name() const {
|
|
||||||
return QSL("wallabag");
|
|
||||||
}
|
|
||||||
|
|
||||||
QString WallabagServiceEntryPoint::code() const {
|
|
||||||
return SERVICE_CODE_WALLABAG;
|
|
||||||
}
|
|
||||||
|
|
||||||
QString WallabagServiceEntryPoint::description() const {
|
|
||||||
return QObject::tr("This plugin allows you to view and manager your wallabag articles.");
|
|
||||||
}
|
|
||||||
|
|
||||||
QString WallabagServiceEntryPoint::version() const {
|
|
||||||
return APP_VERSION;
|
|
||||||
}
|
|
||||||
|
|
||||||
QString WallabagServiceEntryPoint::author() const {
|
|
||||||
return APP_AUTHOR;
|
|
||||||
}
|
|
||||||
|
|
||||||
QIcon WallabagServiceEntryPoint::icon() const {
|
|
||||||
return qApp->icons()->fromTheme(QSL("application-wallabag"));
|
|
||||||
}
|
|
@ -1,41 +0,0 @@
|
|||||||
// This file is part of RSS Guard.
|
|
||||||
//
|
|
||||||
// Copyright (C) 2011-2016 by Martin Rotter <rotter.martinos@gmail.com>
|
|
||||||
//
|
|
||||||
// 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 <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
#ifndef WALLABAGSERVICEENTRYPOINT_H
|
|
||||||
#define WALLABAGSERVICEENTRYPOINT_H
|
|
||||||
|
|
||||||
#include "services/abstract/serviceentrypoint.h"
|
|
||||||
|
|
||||||
|
|
||||||
class WallabagServiceEntryPoint : public ServiceEntryPoint {
|
|
||||||
public:
|
|
||||||
explicit WallabagServiceEntryPoint();
|
|
||||||
virtual ~WallabagServiceEntryPoint();
|
|
||||||
|
|
||||||
ServiceRoot *createNewRoot() const;
|
|
||||||
QList<ServiceRoot *> initializeSubtree() const;
|
|
||||||
|
|
||||||
bool isSingleInstanceService() const;
|
|
||||||
QString name() const;
|
|
||||||
QString code() const;
|
|
||||||
QString description() const;
|
|
||||||
QString version() const;
|
|
||||||
QString author() const;
|
|
||||||
QIcon icon() const;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // WALLABAGSERVICEENTRYPOINT_H
|
|
Loading…
Reference in New Issue
Block a user