Skip to content

Commit

Permalink
build reddit plugin, fix encoding in oauth handler
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrotter committed Jun 24, 2024
1 parent 7c68549 commit c7f381b
Show file tree
Hide file tree
Showing 23 changed files with 2,824 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ add_subdirectory(src/librssguard-feedly)
add_subdirectory(src/librssguard-gmail)
add_subdirectory(src/librssguard-greader)
add_subdirectory(src/librssguard-ttrss)
add_subdirectory(src/librssguard-reddit)
add_subdirectory(src/librssguard-nextcloud)

# GUI executable.
Expand Down
31 changes: 31 additions & 0 deletions src/librssguard-reddit/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
include(../cmake_plugins.cmake)
set(PLUGIN_TARGET "rssguard-reddit")

set(SOURCES
src/definitions.h
src/gui/formeditredditaccount.cpp
src/gui/formeditredditaccount.h
src/gui/redditaccountdetails.cpp
src/gui/redditaccountdetails.h
src/redditcategory.cpp
src/redditcategory.h
src/redditentrypoint.cpp
src/redditentrypoint.h
src/redditnetworkfactory.cpp
src/redditnetworkfactory.h
src/redditserviceroot.cpp
src/redditserviceroot.h
src/redditsubscription.cpp
src/redditsubscription.h

src/3rd-party/mimesis/mimesis.cpp
src/3rd-party/mimesis/mimesis.hpp
src/3rd-party/mimesis/quoted-printable.cpp
src/3rd-party/mimesis/quoted-printable.hpp
)

set(UI_FILES
src/gui/redditaccountdetails.ui
)

prepare_rssguard_plugin(${PLUGIN_TARGET})
5 changes: 5 additions & 0 deletions src/librssguard-reddit/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Reddit",
"author": "Martin Rotter",
"website": "https://github.com/martinrotter/rssguard"
}
Loading

0 comments on commit c7f381b

Please sign in to comment.