//
//  GSClass.h
//  GlyphsCore
//
//  Created by Georg Seifert on 25.10.10.
//  Copyright 2010 schriftgestaltung.de. All rights reserved.
//

#import <GlyphsCore/GSBase.h>
#import <GlyphsCore/GSFeaBlock.h>

@class GSFont;
/**
 The class represents the OpenType classes
 */

NS_ASSUME_NONNULL_BEGIN

@interface GSClass : GSFeaBlock {
	NSString *_name;
}

- (BOOL)isEqualToClass:(GSClass *)other;

// compares the code independent of whitespace
- (BOOL)isEqualToClassLenient:(GSClass *)other;
/**
 The name of the class
 */
@property (nonatomic, copy) NSString *name;

#ifndef GLYPHS_VIEWER

- (nullable NSString *)firstGlyphName;

#endif
@end

NS_ASSUME_NONNULL_END
