Created simple base gui #1

This commit is contained in:
amazing-username
2019-03-23 19:09:20 -04:00
parent b53537b780
commit 4c895d5189
5 changed files with 202 additions and 22 deletions
+9 -19
View File
@@ -1,20 +1,18 @@
#include<iostream>
#include<string>
#include"Syncers/Download.h"
#include"Syncers/Upload.h"
#include"Managers/FileManager.h"
#include<QApplication>
#include"UI/MainWindow.h"
using std::cin;
using std::cout;
using std::endl;
using std::string;
using Managers::FileManager;
using Syncers::Download;
using Syncers::Upload;
using UI::MainWindow;
string songPath;
string songPath{};
string newSongPath;
int main(int argc, char** argv)
@@ -36,19 +34,11 @@ int main(int argc, char** argv)
break;
}
cout<<"Song path: "<<songPath<<endl;
/**
FileManager fm{songPath};
fm.saveFile(newSongPath);
QApplication app{argc, argv};
Upload upS{songPath};
upS.uploadSong();
*/
Download df{newSongPath};
df.downloadSong(1);
MainWindow icarusMgr{};
icarusMgr.show();
return 0;
return app.exec();
}