48d796576e
* Adapted libtracker.so, DriveSetup and Installer to use the shared version. * The new version uses the correct units (KiB instead of KB and so on). * Use the correct units in a few other prominent places, where string_for_size() could not be used. Should resolve a major part of #5378. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35935 a95241bf-73f2-0310-859d-f6bbb57e9c96
24 lines
377 B
C++
24 lines
377 B
C++
/*
|
|
* Copyright 2010 Haiku Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef STRING_FOR_SIZE_H
|
|
#define STRING_FOR_SIZE_H
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
namespace BPrivate {
|
|
|
|
|
|
const char* string_for_size(double size, char* string, size_t stringSize);
|
|
|
|
|
|
} // namespace BPrivate
|
|
|
|
|
|
using BPrivate::string_for_size;
|
|
|
|
|
|
#endif // COLOR_QUANTIZER_H
|