summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-03-11 16:12:56 +0400
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-03-11 16:12:56 +0400
commitc93be89ea6060537340028c7f012fe8f0e2d2a49 (patch)
tree72294254aefb05d52e930497f58ac233677e62ef /main.cpp
parentaa249b570082cc60d79661ebafcb9dd18527c129 (diff)
Begin parser...
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;