1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-05-18 03:52:42 +00:00
harbour-sailfin/core
Chris Josten b9b08ab384 Make model code compileable
This disables some application level logic, but I'm going to rewrite
that using Lager anyway.
2021-03-20 16:29:31 +01:00
..
codegen Make model code compileable 2021-03-20 16:29:31 +01:00
include/JellyfinQt Make model code compileable 2021-03-20 16:29:31 +01:00
src Make model code compileable 2021-03-20 16:29:31 +01:00
CMakeLists.txt Make model code compileable 2021-03-20 16:29:31 +01:00
GeneratedSources.cmake WIP: autogenerate models based on OpenAPI 2021-02-21 05:02:05 +01:00
openapi.json Initial OpenApi code generator 2021-02-20 23:33:07 +01:00
openapigenerator.d Make model code compileable 2021-03-20 16:29:31 +01:00
README.md Slight improvements to the OpenAPI generator 2021-02-21 00:26:18 +01:00

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.