From b338e29fd3eaf700f8c8360aa0310048ba941d54 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:12:46 +0200 Subject: 3.19 --- shared/util.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'shared/util.h') diff --git a/shared/util.h b/shared/util.h index 2aa48af9..25762ce7 100644 --- a/shared/util.h +++ b/shared/util.h @@ -8,12 +8,7 @@ #define UTIL_H_INCLUDED #include -#include -#include -#include #include -#include -#include "zstring.h" #include "string_tools.h" #include "int64.h" @@ -21,15 +16,15 @@ namespace zen { wxString extractJobName(const wxString& configFilename); -wxString formatFilesizeToShortString(zen::UInt64 filesize); -wxString formatPercentage(zen::Int64 dividend, zen::Int64 divisor); +wxString formatFilesizeToShortString(UInt64 filesize); +wxString formatPercentage(Int64 dividend, Int64 divisor); template wxString toStringSep(NumberType number); //convert number to wxString including thousands separator void scrollToBottom(wxScrolledWindow* scrWindow); -wxString utcTimeToLocalString(zen::Int64 utcTime); //throw std::runtime_error +wxString utcTimeToLocalString(Int64 utcTime); //throw std::runtime_error } @@ -68,8 +63,7 @@ wxString includeNumberSeparator(const wxString& number); namespace zen { -template -inline +template inline wxString toStringSep(NumberType number) { return ffs_Impl::includeNumberSeparator(zen::toString(number)); -- cgit