Pull request to update for supporting LCP #46
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear Readium SDK people.
I send a pull request for SDKLanucher-OSX for supporting LCP.
Following are summary for changed files:
We added 'drmInitialize.h' file for DRM initialization
We added a print function controlled by 'print' right in the License Document.
It is linked to Menu 'print', which is in the LauncherOSX/en.lproj/MainMenu.xib
We added checkActionPrint() prototype
We added Drminitialize function call, which is currently disabled by definition FALSE.
Because if it is in the compiled code, link error will be occurred due to no LCP library.
So if user wants to include the DRM feature into the Launcher, he has to make READIUM_DRM definition as TRUE and include the Readium DRM submodule into the Launcher project,
- (bool) checkActionPrint
We added a right checking function for the print action
It is added for drmInitialize() prototype whose .mm code is in Readium DRM submodule
Menu UI XML has changed automatically for 2.OpenPrint App Delegate
This pull request does not include Readium DRM submodule, which is necessary to activate DrmInitialize() in change 4.
I think this is one of the best ways to maintain DRM feature separately against Launcher and not to shake existing project structure much.
If anyone has a better idea, please suggest us.
And as soon as finishing OSX integration, we will send other pull request for iOS and Android Launcher.