electron/shell/browser/ui/cocoa/atom_preview_item.h
2019-06-19 17:33:28 -07:00

17 lines
570 B
Objective-C

// Copyright (c) 2018 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef SHELL_BROWSER_UI_COCOA_ATOM_PREVIEW_ITEM_H_
#define SHELL_BROWSER_UI_COCOA_ATOM_PREVIEW_ITEM_H_
#import <Cocoa/Cocoa.h>
#import <Quartz/Quartz.h>
@interface AtomPreviewItem : NSObject <QLPreviewItem>
@property(nonatomic, retain) NSURL* previewItemURL;
@property(nonatomic, retain) NSString* previewItemTitle;
- (id)initWithURL:(NSURL*)url title:(NSString*)title;
@end
#endif // SHELL_BROWSER_UI_COCOA_ATOM_PREVIEW_ITEM_H_