mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-18 15:59:22 +00:00
Added PasteboardController to handle pasteboard cleanup on shutdown and timeout
This commit is contained in:
23
MacPass/MPPasteBoardController.h
Normal file
23
MacPass/MPPasteBoardController.h
Normal file
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// MPPastBoardController.h
|
||||
// MacPass
|
||||
//
|
||||
// Created by Michael Starke on 02.03.13.
|
||||
// Copyright (c) 2013 HicknHack Software GmbH. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface MPPasteBoardController : NSObject
|
||||
|
||||
/*
|
||||
This time sets the time interval after which a copied entry shoudl be purged from the pasteboard
|
||||
*/
|
||||
@property (assign, nonatomic) NSTimeInterval clearTimeout;
|
||||
@property (assign, nonatomic) BOOL clearPasteboardOnShutdown;
|
||||
|
||||
+ (MPPasteBoardController *)defaultController;
|
||||
|
||||
- (void)copyObjects:(NSArray *)objects;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user