summaryrefslogtreecommitdiff
path: root/shared/globalFunctions.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/globalFunctions.h')
-rw-r--r--shared/globalFunctions.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/shared/globalFunctions.h b/shared/globalFunctions.h
index 74387959..06238236 100644
--- a/shared/globalFunctions.h
+++ b/shared/globalFunctions.h
@@ -10,10 +10,7 @@
#include <memory>
#include <sstream>
#include <fstream>
-#include <wx/stream.h>
-class wxInputStream;
-class wxOutputStream;
class wxStopWatch;
@@ -61,9 +58,6 @@ unsigned int getDigitCount(const unsigned int number); //count number of digits
template <class T> T readNumber(std::ifstream& stream);
template <class T> void writeNumber(std::ofstream& stream, T number);
-template <class T> T readNumber(wxInputStream& stream);
-template <class T> void writeNumber(wxOutputStream& stream, T number);
-
inline
wxLongLong convertToSigned(const wxULongLong number)
{
@@ -221,24 +215,6 @@ void globalFunctions::writeNumber(std::ofstream& stream, T number)
}
-template <class T>
-inline
-T globalFunctions::readNumber(wxInputStream& stream)
-{
- T result = 0;
- stream.Read(&result, sizeof(T));
- return result;
-}
-
-
-template <class T>
-inline
-void globalFunctions::writeNumber(wxOutputStream& stream, T number)
-{
- stream.Write(&number, sizeof(T));
-}
-
-
inline
wxString globalFunctions::numberToWxString(const unsigned int number)
{
bgstack15