This repository has been archived on 2026-07-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
AudioControl/MainVolumeControl.cpp
T
amazing-username 2b3718f5fd Functioning
2017-04-09 19:10:28 -05:00

32 lines
528 B
C++

#include<iostream>
#include<string>
#include"stdio.h"
#include"stdlib.h"
#include"IncreaseVolume.h"
#include"DecreaseVolume.h"
int main(int argc, char* argv[])
{
std::string action = *(argv + 1);
if (action.compare("up") == 0)
{
IncreaseVolume iv;
//std::cout << "Volume test: " << iv.getVolume() << std::endl;
}
else if (action.compare("down") == 0)
{
DecreaseVolume dv;
//std::cout << "Volume test: " << dv.getVolume() << std::endl;
}
else
{
std::cout << "Not the same" << std::endl;
}
return 0;
}