readium / readium-sdk

A C++ ePub renderer SDK
BSD 3-Clause "New" or "Revised" License
388 stars 164 forks source link

c++ implementation to library #292

Open PaulHost opened 7 years ago

PaulHost commented 7 years ago

Can you create a C ++ library to use QT or just document your implementation?

danielweck commented 7 years ago

I believe there is no active new developments in ReadiumSDK (C++ native code), just maintenance. Contributions are welcome. What is your use case? What hardware / software platform do you need to integrate with?

PaulHost commented 7 years ago

I want to integrate your code into android/ios in qt creator with c++ and qml

PaulHost commented 7 years ago

I just want to know how to use your C++ source code to open epub books

danielweck commented 7 years ago

I would suggest trying one of the 3 "launcher apps" (Android, iOS, OSX), and study the code to see how the "open book" function is used. For example, Android: https://github.com/readium/SDKLauncher-Android/blob/438da1ede63fa5146153352b9322e454854b550a/SDKLauncher-Android/app/src/main/java/org/readium/sdk/android/launcher/ContainerList.java#L141 https://github.com/readium/readium-sdk/blob/80a71fedf03f6f11ba7f900daf0ac67675388908/Platform/Android/epub3/src/main/jni/epub3.cpp#L468

danielweck commented 7 years ago

iOS: https://github.com/readium/SDKLauncher-iOS/blob/579a41ac3e8627950edffa5328ea56f187462efa/Classes/ContainerController.m#L57 https://github.com/readium/readium-sdk/blob/80a71fedf03f6f11ba7f900daf0ac67675388908/Platform/Apple/RDServices/Main/RDContainer.mm#L71