fixes #1102: implement reference-counted shared file cache vendor

This commit is contained in:
Justin R. Miller
2015-04-30 17:52:42 -04:00
parent 8192d2ed10
commit c69e985fa5
4 changed files with 99 additions and 19 deletions

View File

@@ -0,0 +1,10 @@
#import <Foundation/Foundation.h>
#include <mbgl/storage/sqlite_cache.hpp>
@interface MGLFileCache : NSObject
+ (mbgl::SQLiteCache *)obtainSharedCacheWithObject:(NSObject *)object;
+ (void)releaseSharedCacheForObject:(NSObject *)object;
@end