mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 17:38:07 +01:00
14 lines
348 B
Objective-C
14 lines
348 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
#import "PSKeyValueReader.h"
|
|
#import "PSKeyValueWriter.h"
|
|
|
|
@protocol PSKeyValueStore <NSObject>
|
|
|
|
- (void)readFromTable:(NSString *)name inTransaction:(void (^)(id<PSKeyValueReader>))transaction;
|
|
- (void)writeToTable:(NSString *)name inTransaction:(void (^)(id<PSKeyValueWriter>))transaction;
|
|
|
|
- (void)sync;
|
|
|
|
@end
|