atom_preview_item.h 568 B

123456789101112131415161718
  1. // Copyright (c) 2018 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef ATOM_BROWSER_UI_COCOA_ATOM_PREVIEW_ITEM_H_
  5. #define ATOM_BROWSER_UI_COCOA_ATOM_PREVIEW_ITEM_H_
  6. #import <Cocoa/Cocoa.h>
  7. #import <Quartz/Quartz.h>
  8. @interface AtomPreviewItem : NSObject<QLPreviewItem>
  9. @property (nonatomic, retain) NSURL* previewItemURL;
  10. @property (nonatomic, retain) NSString* previewItemTitle;
  11. - (id)initWithURL:(NSURL*)url title:(NSString*)title;
  12. @end
  13. #endif // ATOM_BROWSER_UI_COCOA_ATOM_PREVIEW_ITEM_H_