Advertisement
Guest User

Untitled

a guest
Aug 29th, 2018
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.04 KB | None | 0 0
  1. #include "Client.h"
  2. #include "Databases.h"
  3. #include "Files.h"
  4. #include "FileMember.h"
  5. #include "FileValue.h"
  6. #include "Sql.h"
  7. #include "SqlMember.h"
  8. #include "SqlValue.h"
  9. #include <QtCore/qcoreapplication.h>
  10. #include <vector>
  11.  
  12. int main(int argc, char *argv[])
  13. {
  14.     QCoreApplication CoreInstance(argc, argv);
  15.     //
  16.     bool MySQL = false;
  17.     bool SaveFile = false;
  18.     bool Log_save = false;
  19.     unsigned people = 0;
  20.     std::string current;
  21.     std::string current_path;
  22.     std::stringstream logstream;
  23.     std::vector<std::string> valuesList;
  24.     std::vector<std::string> databaseList;
  25.     std::vector<std::vector <std::string> > memberList;
  26.     //
  27.     Client ClientInstance(MySQL, SaveFile, Log_save, people, current, current_path,
  28.         logstream, valuesList, databaseList, memberList);
  29.     {  
  30.         //Files file;  // PO USUNIECIU KOMENTARZA MAIN() NIE WYKONUJE SIE
  31.         //file.load_config();
  32.         //file.set_path("C:\\Users\\kryst\\Documents");  // OR cin >> my_path , file.set_path(my_path)
  33.         Databases database;
  34.         database.loadFile();
  35.     }
  36.     std::cin.get();
  37.     return 0;
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement