1 #ifndef FILEZILLA_INTERFACE_SIZEFORMATTING_HEADER
2 #define FILEZILLA_INTERFACE_SIZEFORMATTING_HEADER
3 
4 #include "../include/sizeformatting_base.h"
5 
6 class CSizeFormat final : public CSizeFormatBase
7 {
8 public:
9 	static std::wstring FormatNumber(int64_t size, bool* thousands_separator = 0);
10 
11 	static std::wstring GetUnitWithBase(_unit unit, int base);
12 	static std::wstring GetUnit(_unit unit, _format = formats_count);
13 	static std::wstring FormatUnit(int64_t size, _unit unit, int base = 1024);
14 
15 	static std::wstring Format(int64_t size, bool add_bytes_suffix, _format format, bool thousands_separator, int num_decimal_places);
16 	static std::wstring Format(int64_t size, bool add_bytes_suffix = false);
17 };
18 
19 #endif
20