atom_preview_item.mm 467 B

12345678910111213141516171819202122
  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. #include "atom/browser/ui/cocoa/atom_preview_item.h"
  5. @implementation AtomPreviewItem
  6. @synthesize previewItemURL;
  7. @synthesize previewItemTitle;
  8. - (id)initWithURL:(NSURL*)url title:(NSString*)title {
  9. self = [super init];
  10. if (self) {
  11. self.previewItemURL = url;
  12. self.previewItemTitle = title;
  13. }
  14. return self;
  15. }
  16. @end