diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-03-11 17:04:01 +0400 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-03-11 17:04:01 +0400 |
| commit | 5783bf5e104813c3e62c134fb6a0d2c619a31635 (patch) | |
| tree | 7d8faee0df18db62f93d9b63592ceb7d93c7fd52 /IOFileClass/FileManIOFile.hpp | |
| parent | e261782473194273bf29eb033419501d7baf61be (diff) | |
Add support to save without key after read file with the key.
Diffstat (limited to 'IOFileClass/FileManIOFile.hpp')
| -rw-r--r-- | IOFileClass/FileManIOFile.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/IOFileClass/FileManIOFile.hpp b/IOFileClass/FileManIOFile.hpp index fbed051..310ded9 100644 --- a/IOFileClass/FileManIOFile.hpp +++ b/IOFileClass/FileManIOFile.hpp @@ -58,7 +58,9 @@ class FileManIOFile { * Save data to "filename" attribute. * */ - void write(std::string data,std::string key=NULL); + void write(std::string key, std::string data); + void write(std::string data); + /** * @brief True if file fully decrypted. |
