diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:51:28 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:51:28 +0200 |
commit | 8f27768c1c35f09152b35caeab20e705086fd03f (patch) | |
tree | 1b1c8fa36bb2b7fc60e2be551a454de239bb5c7f /library/globalFunctions.h | |
parent | 1.7 (diff) | |
download | FreeFileSync-8f27768c1c35f09152b35caeab20e705086fd03f.tar.gz FreeFileSync-8f27768c1c35f09152b35caeab20e705086fd03f.tar.bz2 FreeFileSync-8f27768c1c35f09152b35caeab20e705086fd03f.zip |
1.8
Diffstat (limited to 'library/globalFunctions.h')
-rw-r--r-- | library/globalFunctions.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/library/globalFunctions.h b/library/globalFunctions.h index 55e37c61..7f50f90a 100644 --- a/library/globalFunctions.h +++ b/library/globalFunctions.h @@ -4,6 +4,8 @@ #include <string> #include <algorithm> #include <wx/string.h> +#include <fstream> +#include <wx/stream.h> using namespace std; @@ -32,6 +34,12 @@ namespace globalFunctions double wxStringToDouble(const wxString& number); //Convert wxString to number wxString& includeNumberSeparator(wxString& number); + + int readInt(ifstream& stream); //read int from file stream + void writeInt(ofstream& stream, const int number); //write int to filestream + + int readInt(wxInputStream& stream); //read int from file stream + void writeInt(wxOutputStream& stream, const int number); //write int to filestream } |