File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717@implementation CoreWrapper
1818- (bool )translate : (NSString *)inputPath into : (NSString *)outputPath at : (NSNumber *)page with : (NSString *)password {
1919 try {
20- auto translator = odr::TranslationHelper::create ();
21- bool opened = translator-> open ([inputPath cStringUsingEncoding: NSUTF8StringEncoding]);
20+ auto translator = odr::TranslationHelper ();
21+ bool opened = translator. open ([inputPath cStringUsingEncoding: NSUTF8StringEncoding]);
2222 if (!opened) {
2323 _errorCode = @(-1 );
2424 return false ;
2525 }
2626
27- const odr::FileMeta& meta = translator-> getMeta ();
27+ const odr::FileMeta& meta = translator. getMeta ();
2828
2929 bool decrypted = !meta.encrypted ;
3030 if (password != nil ) {
31- decrypted = translator-> decrypt ([password cStringUsingEncoding: NSUTF8StringEncoding]);
31+ decrypted = translator. decrypt ([password cStringUsingEncoding: NSUTF8StringEncoding]);
3232 }
3333
3434 if (!decrypted) {
@@ -52,7 +52,7 @@ - (bool)translate:(NSString *)inputPath into:(NSString *)outputPath at:(NSNumber
5252 }
5353 _pageNames = pageNames;
5454
55- translator-> translate ([outputPath cStringUsingEncoding: NSUTF8StringEncoding], config);
55+ translator. translate ([outputPath cStringUsingEncoding: NSUTF8StringEncoding], config);
5656 } catch (...) {
5757 _errorCode = @(-3 );
5858 return false ;
Original file line number Diff line number Diff line change 5151 <key >CFBundlePackageType </key >
5252 <string >APPL </string >
5353 <key >CFBundleShortVersionString </key >
54- <string >1.5 </string >
54+ <string >1.6 </string >
5555 <key >CFBundleVersion </key >
56- <string >8 </string >
56+ <string >9 </string >
5757 <key >LSRequiresIPhoneOS </key >
5858 <true />
5959 <key >UILaunchStoryboardName </key >
You can’t perform that action at this time.
0 commit comments