Using the Hunter package manager to handle dependencies. Working on CLI functionality and put less focus on the UI portion #7

This commit is contained in:
amazing-username
2019-06-01 22:36:22 -04:00
parent b6e91d0c18
commit 6641f9db44
16 changed files with 588 additions and 87 deletions
+8 -23
View File
@@ -1,43 +1,28 @@
#include<iostream>
#include<string>
#include<QApplication>
#include"UI/MainWindow.h"
#include"Managers/ActionManager.h"
using std::cin;
using std::cout;
using std::endl;
using std::string;
using UI::MainWindow;
using Managers::ActionManager;
string songPath{};
string newSongPath;
string newSongPath{};
int main(int argc, char** argv)
{
switch(argc)
if (argc <= 1)
{
case 0:
break;
case 1:
break;
case 2:
break;
case 3:
songPath = argv[1];
newSongPath = argv[2];
break;
default:
break;
cout<<"No actions provided"<<endl;
return 1;
}
QApplication app{argc, argv};
MainWindow icarusMgr{};
icarusMgr.show();
ActionManager actMgr{argv};
return app.exec();
return 0;
}