mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-05 01:25:17 +00:00
Chris Josten
1453cbbc63
This settingsframework uses mlite5 on SailfishOS and other platforms with the mlite library present, because I believe DConf is neat. For platforms that do not have DConf and mlite present, it falls back to a quickly put together implementation that uses QSettings as a backend. Implementing an settings item is simply done by subclassing the Jellyfin::QObjectSettingsWrapper. |
||
---|---|---|
.. | ||
codegen | ||
dbus | ||
include/JellyfinQt | ||
qrc | ||
src | ||
CMakeLists.txt | ||
GeneratedSources.cmake | ||
openapi.json | ||
openapigenerator.d | ||
qmldir | ||
README.md |
Jellyfin-Qt
This folder contains the core library containing most of the non-interface UI logic and platform-independent parts.
Code generation.
Parts of the code (notably the data models) are generated from the OpenApi description provided by the
Jellyfin server. The code generator uses the D programming language
and expects to be run through DMD. Make sure both a D compiler and DMD are installed.
Afterwards, on Unix-like systems, marking the "script" as executable and running it should be enough. On Windows,
one probably needs to run dub.exe openapigenerator.d
, but I haven't verified it myself.