SkyEpub SDK for iOS 7
 All Classes Functions Variables Properties
SkyProvider.h
1 //
2 // SkyProvider.h
3 // SkyEPub
4 //
5 // Created by SkyTree on 14. 11. 13..
6 // Copyright (c) 2014년 SkyEpub Corporation. All rights reserved.
7 //Encryption
8 
9 #import <Foundation/Foundation.h>
10 #import "ContentProvider.h"
11 
12 @class SkyProvider;
13 @class Book;
14 
15 
16 @protocol SkyProviderDataSource <NSObject>
17 @optional
18 -(NSString*)skyProvider:(SkyProvider*)sp keyForEncryptedData:(NSString*)uuidForContent contentName:(NSString*)contentName uuidForEpub:(NSString*)uuidForEpub;
19 @end
20 
21 @interface SkyProvider : NSObject <ContentProvider> {
22  __weak Book* book;
23  __weak id <SkyProviderDataSource> dataSource;
24 }
25 @property (nonatomic, weak) id <SkyProviderDataSource> dataSource;
26 @property (nonatomic, weak) Book* book;
27 
28 -(void)destroy;
29 
30 @end