electron/atom/browser/ui/cocoa/atom_scrubber_data_source.h
2017-03-13 10:51:12 +11:00

25 lines
701 B
Objective-C

// 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>
#include "native_mate/persistent_dictionary.h"
@interface AtomScrubberDataSource : NSObject<NSScrubberDataSource> {
@protected
std::vector<mate::PersistentDictionary> items_;
}
- (id)initWithItems:(std::vector<mate::PersistentDictionary>)items;
- (void)setItems:(std::vector<mate::PersistentDictionary>)items;
@end
#endif // ATOM_BROWSER_UI_COCOA_ATOM_SCRUBBER_DATA_SOURCE_H_