23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/**
* @brief SQLite3-based storage for @ref MTXClient.
*/
@interface MTXSQLite3Storage: OFObject <MTXStorage>
/**
* @brief Creates a new SQLite3-based storage for @ref MTXClient.
*
* @param path The path for the SQLite3 database
* @return An autoreleased MTXSQLite3Storage
*/
+ (instancetype)storageWithPath: (OFString *)path;
/**
* @brief Initializes an already allocated MTXSQLite3Storage.
*
* @param path The path for the SQLite3 database
* @return An initialized MTXSQLite3Storage
*/
- (instancetype)initWithPath: (OFString *)path OF_DESIGNATED_INITIALIZER;
@end
OF_ASSUME_NONNULL_END
|
|
|
|
|
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/**
* @brief SQLite3-based storage for @ref MTXClient.
*/
@interface MTXSQLite3Storage: OFObject <MTXStorage>
/**
* @brief Creates a new SQLite3-based storage for @ref MTXClient.
*
* @param IRI The IRI for the SQLite3 database
* @return An autoreleased MTXSQLite3Storage
*/
+ (instancetype)storageWithIRI: (OFIRI *)IRI;
/**
* @brief Initializes an already allocated MTXSQLite3Storage.
*
* @param IRI The IRI for the SQLite3 database
* @return An initialized MTXSQLite3Storage
*/
- (instancetype)initWithIRI: (OFIRI *)IRI OF_DESIGNATED_INITIALIZER;
@end
OF_ASSUME_NONNULL_END
|