electron/atom/browser/ui/cocoa/atom_scrubber_data_source.h

27 lines
782 B
C
Raw Normal View History

2017-03-12 23:51:12 +00:00
// Copyright (c) 2017 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef ATOM_BROWSER_UI_COCOA_ATOM_SCRUBBER_DATA_SOURCE_H_
#define ATOM_BROWSER_UI_COCOA_ATOM_SCRUBBER_DATA_SOURCE_H_
#import <Cocoa/Cocoa.h>
#include <string>
#include <vector>
2017-03-13 17:07:48 +00:00
#include "atom/browser/ui/cocoa/touch_bar_forward_declarations.h"
2017-03-12 23:51:12 +00:00
#include "native_mate/persistent_dictionary.h"
@interface AtomScrubberDataSource : NSObject<NSScrubberDataSource> {
2017-03-13 00:00:10 +00:00
@protected
2017-03-12 23:51:12 +00:00
std::vector<mate::PersistentDictionary> items_;
}
2017-03-13 17:25:30 +00:00
- (id)initWithItems:(const std::vector<mate::PersistentDictionary>&)items;
- (void)setItems:(const std::vector<mate::PersistentDictionary>&)items;
2017-03-12 23:51:12 +00:00
@end
#endif // ATOM_BROWSER_UI_COCOA_ATOM_SCRUBBER_DATA_SOURCE_H_