1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 10:27:46 +01:00
Telegram/Share/PSKeyValueStore.h

12 lines
283 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#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