Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Client.h"
- #include "Databases.h"
- #include "Files.h"
- #include "FileMember.h"
- #include "FileValue.h"
- #include "Sql.h"
- #include "SqlMember.h"
- #include "SqlValue.h"
- #include <QtCore/qcoreapplication.h>
- #include <vector>
- int main(int argc, char *argv[])
- {
- QCoreApplication CoreInstance(argc, argv);
- //
- bool MySQL = false;
- bool SaveFile = false;
- bool Log_save = false;
- unsigned people = 0;
- std::string current;
- std::string current_path;
- std::stringstream logstream;
- std::vector<std::string> valuesList;
- std::vector<std::string> databaseList;
- std::vector<std::vector <std::string> > memberList;
- //
- Client ClientInstance(MySQL, SaveFile, Log_save, people, current, current_path,
- logstream, valuesList, databaseList, memberList);
- {
- //Files file; // PO USUNIECIU KOMENTARZA MAIN() NIE WYKONUJE SIE
- //file.load_config();
- //file.set_path("C:\\Users\\kryst\\Documents"); // OR cin >> my_path , file.set_path(my_path)
- Databases database;
- database.loadFile();
- }
- std::cin.get();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement