summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp31
1 files changed, 26 insertions, 5 deletions
diff --git a/main.cpp b/main.cpp
index 6b1bf23..9a3b3f1 100644
--- a/main.cpp
+++ b/main.cpp
@@ -17,10 +17,8 @@
#include <string>
//----- class -----
-#include "AESCrypt.hpp"
-#include "HASHCrypt.hpp"
#include "FileManIOFile.hpp"
-
+#include "FileManParser.hpp"
/**
@@ -33,7 +31,30 @@
*/
int main(int argc, char *argv[]){
- std::string chaine="It's work !";
+
+
+
+ std::string xml="<?xml version=\"1.0\" standalone=\"yes\" ?>\n\
+<forgetIt> \n\
+<websites> \n\
+ \n\
+ </websites> \n\
+</forgetIt> \n\
+ ";
+
+
+ FileManParser parser(xml);
+
+
+
+ //std::cout << std::endl << parser.getData() << std::endl;
+
+
+
+
+
+
+ /*std::string chaine="It's work !";
std::string key="loic";
AESCrypt aes;
@@ -45,7 +66,7 @@ int main(int argc, char *argv[]){
fichier.read(key);
if(fichier.isReadable())
- std::cout << fichier.getData();
+ std::cout << fichier.getData();*/
return 0;