1
0
mirror of https://github.com/danog/Telegram.git synced 2024-11-26 20:14:43 +01:00
Telegram/Share/PSKeyValueStore.h
2015-10-01 19:19:52 +03:00

12 lines
283 B
Objective-C

#import "PSKeyValueReader.h"
#import "PSKeyValueWriter.h"
@protocol PSKeyValueStore <NSObject>
- (void)readInTransaction:(void (^)(id<PSKeyValueReader>))transaction;
- (void)readWriteInTransaction:(void (^)(id<PSKeyValueReader, PSKeyValueWriter>))transaction;
- (void)sync;
@end