//
//  GSInfoValue.h
//  GlyphsCore
//
//  Created by Georg Seifert on 07.11.19.
//  Copyright © 2019 schriftgestaltung.de. All rights reserved.
//

#import <GlyphsCore/GSBase.h>
#import <GlyphsCore/GSContainerProtocol.h>
#if !defined(GLYPHS_LITE) && !defined(LIBCORE)
#import <GlyphsCore/GSIdentifiableParameter.h>
#endif

NS_ASSUME_NONNULL_BEGIN

@class GSMetric;

#if !defined(GLYPHS_LITE) && !defined(LIBCORE)
@interface GSValueStore : NSObject <NSCopying, GSIdentifiableParameter, GSItemProtocol>
#else
@interface GSValueStore : NSObject <NSCopying, GSItemProtocol>
#endif
{
	CGFloat _value;
}

- (instancetype)initWithValue:(CGFloat)value;

@property (nonatomic, nullable, strong) NSString *parentKey;

@property (nonatomic, weak) GSMetric *metric;

/// The value.
@property (nonatomic) CGFloat value;

@property (readonly) NSString *name;

@end

NS_ASSUME_NONNULL_END
