Style fix in Locale Kit headers.
As pointed out by Axel, the wrong style was used in these headers we inherited from OpenTracker days.
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
class BLocale;
|
class BLocale;
|
||||||
|
|
||||||
class BCurrency : public BArchivable {
|
class BCurrency : public BArchivable {
|
||||||
public:
|
public:
|
||||||
BCurrency(const BCurrency &other);
|
BCurrency(const BCurrency &other);
|
||||||
BCurrency(BMessage *archive);
|
BCurrency(BMessage *archive);
|
||||||
BCurrency(const char *currencyCode);
|
BCurrency(const char *currencyCode);
|
||||||
@@ -31,7 +31,7 @@ class BCurrency : public BArchivable {
|
|||||||
bool operator==(const BCurrency &other) const;
|
bool operator==(const BCurrency &other) const;
|
||||||
bool operator!=(const BCurrency &other) const;
|
bool operator!=(const BCurrency &other) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BCurrency();
|
BCurrency();
|
||||||
|
|
||||||
bool _CheckData() const;
|
bool _CheckData() const;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ class BString;
|
|||||||
class BFloatFormatImpl;
|
class BFloatFormatImpl;
|
||||||
|
|
||||||
class BFloatFormat : public BNumberFormat, public BFloatFormatParameters {
|
class BFloatFormat : public BNumberFormat, public BFloatFormatParameters {
|
||||||
public:
|
public:
|
||||||
BFloatFormat(const BFloatFormat &other);
|
BFloatFormat(const BFloatFormat &other);
|
||||||
~BFloatFormat();
|
~BFloatFormat();
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ class BFloatFormatParameters;
|
|||||||
class BString;
|
class BString;
|
||||||
|
|
||||||
class BFloatFormatImpl {
|
class BFloatFormatImpl {
|
||||||
public:
|
public:
|
||||||
BFloatFormatImpl();
|
BFloatFormatImpl();
|
||||||
virtual ~BFloatFormatImpl();
|
virtual ~BFloatFormatImpl();
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ enum float_format_type {
|
|||||||
};
|
};
|
||||||
|
|
||||||
class BFloatFormatParameters : public BNumberFormatParameters {
|
class BFloatFormatParameters : public BNumberFormatParameters {
|
||||||
public:
|
public:
|
||||||
BFloatFormatParameters(const BFloatFormatParameters *parent = NULL);
|
BFloatFormatParameters(const BFloatFormatParameters *parent = NULL);
|
||||||
BFloatFormatParameters(const BFloatFormatParameters &other);
|
BFloatFormatParameters(const BFloatFormatParameters &other);
|
||||||
~BFloatFormatParameters();
|
~BFloatFormatParameters();
|
||||||
@@ -40,7 +40,7 @@ class BFloatFormatParameters : public BNumberFormatParameters {
|
|||||||
BFloatFormatParameters &operator=(
|
BFloatFormatParameters &operator=(
|
||||||
const BFloatFormatParameters &other);
|
const BFloatFormatParameters &other);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const BFloatFormatParameters *fParent;
|
const BFloatFormatParameters *fParent;
|
||||||
size_t fMinimalFractionDigits;
|
size_t fMinimalFractionDigits;
|
||||||
size_t fMaximalFractionDigits;
|
size_t fMaximalFractionDigits;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
class BFormatParameters;
|
class BFormatParameters;
|
||||||
|
|
||||||
class BFormatImpl {
|
class BFormatImpl {
|
||||||
public:
|
public:
|
||||||
BFormatImpl();
|
BFormatImpl();
|
||||||
virtual ~BFormatImpl();
|
virtual ~BFormatImpl();
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ enum format_alignment {
|
|||||||
};
|
};
|
||||||
|
|
||||||
class BFormatParameters {
|
class BFormatParameters {
|
||||||
public:
|
public:
|
||||||
BFormatParameters(const BFormatParameters *parent = NULL);
|
BFormatParameters(const BFormatParameters *parent = NULL);
|
||||||
BFormatParameters(const BFormatParameters &other);
|
BFormatParameters(const BFormatParameters &other);
|
||||||
~BFormatParameters();
|
~BFormatParameters();
|
||||||
@@ -24,10 +24,10 @@ class BFormatParameters {
|
|||||||
|
|
||||||
BFormatParameters &operator=(const BFormatParameters &other);
|
BFormatParameters &operator=(const BFormatParameters &other);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void SetParentParameters(const BFormatParameters *parent);
|
void SetParentParameters(const BFormatParameters *parent);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const BFormatParameters *fParent;
|
const BFormatParameters *fParent;
|
||||||
format_alignment fAlignment;
|
format_alignment fAlignment;
|
||||||
size_t fWidth;
|
size_t fWidth;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ class BString;
|
|||||||
struct format_field_position;
|
struct format_field_position;
|
||||||
|
|
||||||
class BGenericNumberFormat {
|
class BGenericNumberFormat {
|
||||||
public:
|
public:
|
||||||
BGenericNumberFormat();
|
BGenericNumberFormat();
|
||||||
~BGenericNumberFormat();
|
~BGenericNumberFormat();
|
||||||
|
|
||||||
@@ -96,7 +96,7 @@ class BGenericNumberFormat {
|
|||||||
// is a multiple of 3), i.e. allow setting the number of which the exponent
|
// is a multiple of 3), i.e. allow setting the number of which the exponent
|
||||||
// must be a multiple of.
|
// must be a multiple of.
|
||||||
|
|
||||||
private:
|
private:
|
||||||
class BufferWriter;
|
class BufferWriter;
|
||||||
class Float;
|
class Float;
|
||||||
class GroupingInfo;
|
class GroupingInfo;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ class BString;
|
|||||||
// classes' accessor methods.
|
// classes' accessor methods.
|
||||||
//
|
//
|
||||||
class BIntegerFormat : public BNumberFormat, public BIntegerFormatParameters {
|
class BIntegerFormat : public BNumberFormat, public BIntegerFormatParameters {
|
||||||
public:
|
public:
|
||||||
BIntegerFormat(const BIntegerFormat &other);
|
BIntegerFormat(const BIntegerFormat &other);
|
||||||
~BIntegerFormat();
|
~BIntegerFormat();
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ class BIntegerFormatParameters;
|
|||||||
class BString;
|
class BString;
|
||||||
|
|
||||||
class BIntegerFormatImpl {
|
class BIntegerFormatImpl {
|
||||||
public:
|
public:
|
||||||
BIntegerFormatImpl();
|
BIntegerFormatImpl();
|
||||||
virtual ~BIntegerFormatImpl();
|
virtual ~BIntegerFormatImpl();
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#include <NumberFormatParameters.h>
|
#include <NumberFormatParameters.h>
|
||||||
|
|
||||||
class BIntegerFormatParameters : public BNumberFormatParameters {
|
class BIntegerFormatParameters : public BNumberFormatParameters {
|
||||||
public:
|
public:
|
||||||
BIntegerFormatParameters(const BIntegerFormatParameters *parent = NULL);
|
BIntegerFormatParameters(const BIntegerFormatParameters *parent = NULL);
|
||||||
BIntegerFormatParameters(const BIntegerFormatParameters &other);
|
BIntegerFormatParameters(const BIntegerFormatParameters &other);
|
||||||
~BIntegerFormatParameters();
|
~BIntegerFormatParameters();
|
||||||
@@ -15,7 +15,7 @@ class BIntegerFormatParameters : public BNumberFormatParameters {
|
|||||||
BIntegerFormatParameters &operator=(
|
BIntegerFormatParameters &operator=(
|
||||||
const BIntegerFormatParameters &other);
|
const BIntegerFormatParameters &other);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const BIntegerFormatParameters *fParent;
|
const BIntegerFormatParameters *fParent;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ enum number_format_base {
|
|||||||
};
|
};
|
||||||
|
|
||||||
class BNumberFormatParameters : public BFormatParameters {
|
class BNumberFormatParameters : public BFormatParameters {
|
||||||
public:
|
public:
|
||||||
BNumberFormatParameters(const BNumberFormatParameters *parent = NULL);
|
BNumberFormatParameters(const BNumberFormatParameters *parent = NULL);
|
||||||
BNumberFormatParameters(const BNumberFormatParameters &other);
|
BNumberFormatParameters(const BNumberFormatParameters &other);
|
||||||
~BNumberFormatParameters();
|
~BNumberFormatParameters();
|
||||||
@@ -49,10 +49,10 @@ class BNumberFormatParameters : public BFormatParameters {
|
|||||||
BNumberFormatParameters &operator=(
|
BNumberFormatParameters &operator=(
|
||||||
const BNumberFormatParameters &other);
|
const BNumberFormatParameters &other);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void SetParentNumberParameters(const BNumberFormatParameters *parent);
|
void SetParentNumberParameters(const BNumberFormatParameters *parent);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const BNumberFormatParameters *fParent;
|
const BNumberFormatParameters *fParent;
|
||||||
bool fUseGrouping;
|
bool fUseGrouping;
|
||||||
number_format_sign_policy fSignPolicy;
|
number_format_sign_policy fSignPolicy;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ struct UConverter;
|
|||||||
|
|
||||||
class TextEncoding
|
class TextEncoding
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TextEncoding(BString name);
|
TextEncoding(BString name);
|
||||||
TextEncoding(const char* data, size_t length);
|
TextEncoding(const char* data, size_t length);
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ class TextEncoding
|
|||||||
char* output, size_t& outputLength);
|
char* output, size_t& outputLength);
|
||||||
status_t Flush(char* output, size_t& outputLength);
|
status_t Flush(char* output, size_t& outputLength);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BString fName;
|
BString fName;
|
||||||
|
|
||||||
UConverter* fUtf8Converter;
|
UConverter* fUtf8Converter;
|
||||||
|
|||||||
Reference in New Issue
Block a user