Implement NSScrubberDataSource in AtomTouchBar

This commit is contained in:
Kevin Sawicki 2017-03-13 11:06:41 -07:00
parent 4f31a5c452
commit e52ece1a1e
5 changed files with 45 additions and 98 deletions

View file

@ -17,7 +17,7 @@
#include "native_mate/constructor.h"
#include "native_mate/persistent_dictionary.h"
@interface AtomTouchBar : NSObject<NSScrubberDelegate> {
@interface AtomTouchBar : NSObject<NSScrubberDelegate, NSScrubberDataSource> {
@protected
std::vector<mate::PersistentDictionary> ordered_settings_;
std::map<std::string, mate::PersistentDictionary> settings_;