mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
588 B
C
20 lines
588 B
C
5 years ago
|
#import <YapDatabase/YapDatabase.h>
|
||
|
#import <SessionMessagingKit/TSAttachmentPointer.h>
|
||
|
#import "OWSBackupFragment.h"
|
||
|
|
||
|
#ifndef TSAttachmentPointer_Backups_h
|
||
|
#define TSAttachmentPointer_Backups_h
|
||
|
|
||
|
@interface TSAttachmentPointer (Backups)
|
||
|
|
||
|
// Non-nil for attachments which need "lazy backup restore."
|
||
|
- (nullable OWSBackupFragment *)lazyRestoreFragment;
|
||
|
|
||
|
// Marks attachment as needing "lazy backup restore."
|
||
|
- (void)markForLazyRestoreWithFragment:(OWSBackupFragment *)lazyRestoreFragment
|
||
|
transaction:(YapDatabaseReadWriteTransaction *)transaction;
|
||
|
|
||
|
@end
|
||
|
|
||
|
#endif
|