1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 17:38:07 +01:00
Telegram/Telegraph/PSKeyValueStore.h

14 lines
348 B
C
Raw Normal View History

2014-07-10 16:11:09 +02:00
#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