Missing from previous commit. Sorry !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38339 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
854ac70a95
commit
4f5f77e6e4
@ -27,6 +27,13 @@ typedef enum {
|
||||
B_DATE_ELEMENT_SECOND
|
||||
} BDateElement;
|
||||
|
||||
typedef enum {
|
||||
B_NUMBER_ELEMENT_INVALID = B_BAD_DATA,
|
||||
B_NUMBER_ELEMENT_INTEGER = 0,
|
||||
B_NUMBER_ELEMENT_FRACTIONAL,
|
||||
B_NUMBER_ELEMENT_CURRENCY
|
||||
} BNumberElement;
|
||||
|
||||
|
||||
class BLocale {
|
||||
public:
|
||||
@ -110,6 +117,11 @@ public:
|
||||
ssize_t FormatMonetary(char* string, size_t maxSize,
|
||||
double value);
|
||||
ssize_t FormatMonetary(BString* string, double value);
|
||||
status_t FormatMonetary(BString* string,
|
||||
int*& fieldPositions,
|
||||
BNumberElement*& fieldTypes,
|
||||
int& fieldCount, double value);
|
||||
status_t GetCurrencySymbol(BString& result);
|
||||
|
||||
// Collator short-hands
|
||||
int StringCompare(const char* s1,
|
||||
|
Loading…
Reference in New Issue
Block a user