//
//  GSGlyphsInfo+InfoLoading.h
//  GlyphsCore
//
//  Created by Georg Seifert on 03.01.18.
//  Copyright © 2018 schriftgestaltung.de. All rights reserved.
//

#import <GlyphsCore/GSGlyphsInfo.h>

extern NSString *const GSLibraryKey;
extern NSString *const GSLanguagesKey;
extern NSString *const GSFiltersKey;

@class GSFont;

@interface GSGlyphsInfo (InfoLoading)
- (void)loadGlyphInfo;
- (void)loadSidebarInfoForDocument:(GSFont *)font;

- (void)reloadCustomFilterGroup;

- (NSArray *)glyphGroupsTreeForFont:(GSFont *)font;

#if TARGET_OS_IOS // public on ios since the sidebar is constructed outside the framework
+ (NSArray *)defaultCategoriesDicts;
#endif

#pragma mark - Deprecated (Glyphs 3 compatibility)

- (void)loadSidebarInfo GSDeprecated("loadSidebarInfoForDocument:");

@end
