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:
Adrien Destugues
2016-09-27 19:34:52 +02:00
parent a95053ddb7
commit 32afcc5cc5
12 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
class BLocale;
class BCurrency : public BArchivable {
public:
public:
BCurrency(const BCurrency &other);
BCurrency(BMessage *archive);
BCurrency(const char *currencyCode);
@@ -31,7 +31,7 @@ class BCurrency : public BArchivable {
bool operator==(const BCurrency &other) const;
bool operator!=(const BCurrency &other) const;
private:
private:
BCurrency();
bool _CheckData() const;
+1 -1
View File
@@ -8,7 +8,7 @@ class BString;
class BFloatFormatImpl;
class BFloatFormat : public BNumberFormat, public BFloatFormatParameters {
public:
public:
BFloatFormat(const BFloatFormat &other);
~BFloatFormat();
+1 -1
View File
@@ -6,7 +6,7 @@ class BFloatFormatParameters;
class BString;
class BFloatFormatImpl {
public:
public:
BFloatFormatImpl();
virtual ~BFloatFormatImpl();
+2 -2
View File
@@ -11,7 +11,7 @@ enum float_format_type {
};
class BFloatFormatParameters : public BNumberFormatParameters {
public:
public:
BFloatFormatParameters(const BFloatFormatParameters *parent = NULL);
BFloatFormatParameters(const BFloatFormatParameters &other);
~BFloatFormatParameters();
@@ -40,7 +40,7 @@ class BFloatFormatParameters : public BNumberFormatParameters {
BFloatFormatParameters &operator=(
const BFloatFormatParameters &other);
private:
private:
const BFloatFormatParameters *fParent;
size_t fMinimalFractionDigits;
size_t fMaximalFractionDigits;
+1 -1
View File
@@ -6,7 +6,7 @@
class BFormatParameters;
class BFormatImpl {
public:
public:
BFormatImpl();
virtual ~BFormatImpl();
+3 -3
View File
@@ -9,7 +9,7 @@ enum format_alignment {
};
class BFormatParameters {
public:
public:
BFormatParameters(const BFormatParameters *parent = NULL);
BFormatParameters(const BFormatParameters &other);
~BFormatParameters();
@@ -24,10 +24,10 @@ class BFormatParameters {
BFormatParameters &operator=(const BFormatParameters &other);
protected:
protected:
void SetParentParameters(const BFormatParameters *parent);
private:
private:
const BFormatParameters *fParent;
format_alignment fAlignment;
size_t fWidth;
+2 -2
View File
@@ -8,7 +8,7 @@ class BString;
struct format_field_position;
class BGenericNumberFormat {
public:
public:
BGenericNumberFormat();
~BGenericNumberFormat();
@@ -96,7 +96,7 @@ class BGenericNumberFormat {
// is a multiple of 3), i.e. allow setting the number of which the exponent
// must be a multiple of.
private:
private:
class BufferWriter;
class Float;
class GroupingInfo;
+1 -1
View File
@@ -13,7 +13,7 @@ class BString;
// classes' accessor methods.
//
class BIntegerFormat : public BNumberFormat, public BIntegerFormatParameters {
public:
public:
BIntegerFormat(const BIntegerFormat &other);
~BIntegerFormat();
+1 -1
View File
@@ -6,7 +6,7 @@ class BIntegerFormatParameters;
class BString;
class BIntegerFormatImpl {
public:
public:
BIntegerFormatImpl();
virtual ~BIntegerFormatImpl();
+2 -2
View File
@@ -4,7 +4,7 @@
#include <NumberFormatParameters.h>
class BIntegerFormatParameters : public BNumberFormatParameters {
public:
public:
BIntegerFormatParameters(const BIntegerFormatParameters *parent = NULL);
BIntegerFormatParameters(const BIntegerFormatParameters &other);
~BIntegerFormatParameters();
@@ -15,7 +15,7 @@ class BIntegerFormatParameters : public BNumberFormatParameters {
BIntegerFormatParameters &operator=(
const BIntegerFormatParameters &other);
private:
private:
const BIntegerFormatParameters *fParent;
};
+3 -3
View File
@@ -21,7 +21,7 @@ enum number_format_base {
};
class BNumberFormatParameters : public BFormatParameters {
public:
public:
BNumberFormatParameters(const BNumberFormatParameters *parent = NULL);
BNumberFormatParameters(const BNumberFormatParameters &other);
~BNumberFormatParameters();
@@ -49,10 +49,10 @@ class BNumberFormatParameters : public BFormatParameters {
BNumberFormatParameters &operator=(
const BNumberFormatParameters &other);
protected:
protected:
void SetParentNumberParameters(const BNumberFormatParameters *parent);
private:
private:
const BNumberFormatParameters *fParent;
bool fUseGrouping;
number_format_sign_policy fSignPolicy;
+2 -2
View File
@@ -18,7 +18,7 @@ struct UConverter;
class TextEncoding
{
public:
public:
TextEncoding(BString name);
TextEncoding(const char* data, size_t length);
@@ -33,7 +33,7 @@ class TextEncoding
char* output, size_t& outputLength);
status_t Flush(char* output, size_t& outputLength);
private:
private:
BString fName;
UConverter* fUtf8Converter;