33eead339b
* Fix the TimeFormat API, there was a double free. Make it work as expected : you send it a number of seconds and it will format it properly in days, hours, minutes, seconds with proper plural. * Cleanup other parts of the Format API from useless things. They may get reintroduced later if we feel the need to do so. * AboutSystem now use TimeFormat to display the uptime in properly localized way. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35506 a95241bf-73f2-0310-859d-f6bbb57e9c96
21 lines
368 B
C++
21 lines
368 B
C++
#ifndef _B_NUMBER_FORMAT_H_
|
|
#define _B_NUMBER_FORMAT_H_
|
|
|
|
#include <Format.h>
|
|
#include <NumberFormatParameters.h>
|
|
|
|
class BNumberFormatImpl;
|
|
|
|
class BNumberFormat : public BFormat {
|
|
protected:
|
|
BNumberFormat(const BNumberFormat &other);
|
|
~BNumberFormat();
|
|
|
|
BNumberFormat &operator=(const BNumberFormat &other);
|
|
|
|
BNumberFormat();
|
|
};
|
|
|
|
|
|
#endif // _B_NUMBER_FORMAT_H_
|