mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Skeletal implementation
This commit is contained in:
parent
fd1fb807d0
commit
9ef1c7b0ac
2 changed files with 11 additions and 0 deletions
|
@ -50,6 +50,7 @@ typedef NSInteger NSLengthFormatterUnit;
|
|||
{
|
||||
BOOL _isForPersonHeightUse;
|
||||
NSNumberFormatter *_numberFormatter;
|
||||
NSFormattingUnitStyle _unitStyle;
|
||||
}
|
||||
|
||||
- (NSNumberFormatter *) numberFormatter;
|
||||
|
|
|
@ -29,42 +29,52 @@
|
|||
|
||||
- (NSNumberFormatter *) numberFormatter
|
||||
{
|
||||
return _numberFormatter;
|
||||
}
|
||||
|
||||
- (void) setNumberFormatter: (NSNumberFormatter *)formatter
|
||||
{
|
||||
ASSIGN(_numberFormatter, formatter);
|
||||
}
|
||||
|
||||
- (NSFormattingUnitStyle) unitStyle
|
||||
{
|
||||
return _unitStyle;
|
||||
}
|
||||
|
||||
- (void) setUnitStyle: (NSFormattingUnitStyle)style
|
||||
{
|
||||
_unitStyle = style;
|
||||
}
|
||||
|
||||
- (BOOL) isForPersonHeightUse
|
||||
{
|
||||
return _isForPersonHeightUse;
|
||||
}
|
||||
|
||||
- (void) setForPersonHeightUse: (BOOL)flag
|
||||
{
|
||||
_isForPersonHeightUse = flag;
|
||||
}
|
||||
|
||||
- (NSString *) stringFromValue: (double)value unit: (NSLengthFormatterUnit)unit
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSString *) stringFromMeters: (double)numberInMeters
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSString *) unitStringFromValue: (double)value unit: (NSLengthFormatterUnit)unit
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSString *) unitStringFromMeters: (double)numberInMeters usedUnit: (NSLengthFormatterUnit *)unit
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (BOOL)getObjectValue: (id*)obj forString: (NSString *)string errorDescription: (NSString **)error
|
||||
|
|
Loading…
Reference in a new issue