mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-21 17:49:34 +00:00
fixed #155 added Quicklook like preview for attachments
This commit is contained in:
25
MacPass/MPTemporaryFileStorageCenter.h
Normal file
25
MacPass/MPTemporaryFileStorageCenter.h
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// MPTemporaryFileStorageCleaner.h
|
||||
// MacPass
|
||||
//
|
||||
// Created by Michael Starke on 19/03/14.
|
||||
// Copyright (c) 2014 HicknHack Software GmbH. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class MPTemporaryFileStorage;
|
||||
@class KPKBinary;
|
||||
|
||||
@interface MPTemporaryFileStorageCenter : NSObject
|
||||
|
||||
+ (instancetype)defaultCenter;
|
||||
|
||||
- (BOOL)hasPendingStorages;
|
||||
|
||||
- (MPTemporaryFileStorage *)storageForBinary:(KPKBinary *)binary;
|
||||
- (void)registerStorage:(MPTemporaryFileStorage *)storage;
|
||||
- (void)unregisterStorage:(MPTemporaryFileStorage *)storage;
|
||||
- (void)cleanupStorages;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user