transmission/macosx/DragOverlayWindow.h

27 lines
614 B
C
Raw Normal View History

// This file Copyright © 2007-2022 Transmission authors and contributors.
// It may be used under the MIT (SPDX: MIT) license.
// License text can be found in the licenses/ folder.
2007-09-16 01:02:06 +00:00
#import <Cocoa/Cocoa.h>
#include <libtransmission/transmission.h>
2007-09-16 01:02:06 +00:00
@interface DragOverlayWindow : NSWindow
{
tr_session* fLib;
NSViewAnimation* fFadeInAnimation;
NSViewAnimation* fFadeOutAnimation;
2007-09-16 01:02:06 +00:00
}
- (instancetype)initWithLib:(tr_session*)lib forWindow:(NSWindow*)window;
2007-09-16 01:02:06 +00:00
- (void)setTorrents:(NSArray*)files;
- (void)setFile:(NSString*)file;
- (void)setURL:(NSString*)url;
2007-09-16 01:02:06 +00:00
- (void)fadeIn;
- (void)fadeOut;
2007-09-16 01:02:06 +00:00
@end