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
2021-03-20 03:30:50 +01:00
..
codegen Adjust codegeneration to emit simpler classes 2021-03-20 03:30:50 +01:00
include/JellyfinQt Adjust codegeneration to emit simpler classes 2021-03-20 03:30:50 +01:00
src Adjust codegeneration to emit simpler classes 2021-03-20 03:30:50 +01:00
CMakeLists.txt WIP: extract loading logic from model 2021-03-05 15:34:10 +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 Adjust codegeneration to emit simpler classes 2021-03-20 03:30:50 +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.