Changed from config files from being user-centric to system. Some refactoring. Added install script
This commit is contained in:
@@ -8,18 +8,11 @@ int main(int argc, char* argv[])
|
||||
std::string action = *(argv + 1);
|
||||
|
||||
if (action.compare("up") == 0)
|
||||
{
|
||||
IncreaseVolume iv;
|
||||
|
||||
}
|
||||
else if (action.compare("down") == 0)
|
||||
{
|
||||
DecreaseVolume dv;
|
||||
}
|
||||
else
|
||||
{
|
||||
std::cout << "Choose correct action, up or down" << std::endl;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user