Remove remaining include of FloatFormatParameters.h.
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
#ifndef _B_GENERIC_NUMBER_FORMAT_H_
|
#ifndef _B_GENERIC_NUMBER_FORMAT_H_
|
||||||
#define _B_GENERIC_NUMBER_FORMAT_H_
|
#define _B_GENERIC_NUMBER_FORMAT_H_
|
||||||
|
|
||||||
#include <FloatFormatParameters.h>
|
|
||||||
#include <IntegerFormatParameters.h>
|
#include <IntegerFormatParameters.h>
|
||||||
|
|
||||||
class BString;
|
class BString;
|
||||||
@@ -40,20 +39,6 @@ public:
|
|||||||
int32 *fieldCount = NULL,
|
int32 *fieldCount = NULL,
|
||||||
bool allFieldPositions = false) const;
|
bool allFieldPositions = false) const;
|
||||||
|
|
||||||
status_t FormatFloat(const BFloatFormatParameters *parameters,
|
|
||||||
double number, BString *buffer,
|
|
||||||
format_field_position *positions = NULL,
|
|
||||||
int32 positionCount = 1,
|
|
||||||
int32 *fieldCount = NULL,
|
|
||||||
bool allFieldPositions = false) const;
|
|
||||||
|
|
||||||
status_t FormatFloat(const BFloatFormatParameters *parameters,
|
|
||||||
double number, char *buffer, size_t bufferSize,
|
|
||||||
format_field_position *positions = NULL,
|
|
||||||
int32 positionCount = 1,
|
|
||||||
int32 *fieldCount = NULL,
|
|
||||||
bool allFieldPositions = false) const;
|
|
||||||
|
|
||||||
// default number format parameters
|
// default number format parameters
|
||||||
|
|
||||||
status_t SetDefaultIntegerFormatParameters(
|
status_t SetDefaultIntegerFormatParameters(
|
||||||
@@ -61,11 +46,6 @@ public:
|
|||||||
BIntegerFormatParameters *DefaultIntegerFormatParameters();
|
BIntegerFormatParameters *DefaultIntegerFormatParameters();
|
||||||
const BIntegerFormatParameters *DefaultIntegerFormatParameters() const;
|
const BIntegerFormatParameters *DefaultIntegerFormatParameters() const;
|
||||||
|
|
||||||
status_t SetDefaultFloatFormatParameters(
|
|
||||||
const BFloatFormatParameters *parameters);
|
|
||||||
BFloatFormatParameters *DefaultFloatFormatParameters();
|
|
||||||
const BFloatFormatParameters *DefaultFloatFormatParameters() const;
|
|
||||||
|
|
||||||
// other parameters configuring the formatter
|
// other parameters configuring the formatter
|
||||||
|
|
||||||
status_t SetDigitSymbols(const char **digits);
|
status_t SetDigitSymbols(const char **digits);
|
||||||
@@ -158,7 +138,6 @@ private:
|
|||||||
static status_t _SetSymbol(Symbol **symbol, const char *str);
|
static status_t _SetSymbol(Symbol **symbol, const char *str);
|
||||||
|
|
||||||
BIntegerFormatParameters fIntegerParameters;
|
BIntegerFormatParameters fIntegerParameters;
|
||||||
BFloatFormatParameters fFloatParameters;
|
|
||||||
Symbol *fDigitSymbols;
|
Symbol *fDigitSymbols;
|
||||||
Symbol *fFractionSeparator;
|
Symbol *fFractionSeparator;
|
||||||
GroupingInfo *fGroupingInfo;
|
GroupingInfo *fGroupingInfo;
|
||||||
|
|||||||
Reference in New Issue
Block a user