Changed from config files from being user-centric to system. Some refactoring. Added install script
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef AUDIOINFORMATION_H
|
||||
#define AUDIOINFORMATION_H
|
||||
|
||||
#include<string>
|
||||
|
||||
class AudioInformation
|
||||
{
|
||||
public:
|
||||
@@ -11,6 +13,7 @@ public:
|
||||
private:
|
||||
void stripInformation();
|
||||
|
||||
std::string audioInfoPath{"/usr/lib/AudioControl/audio.txt"};
|
||||
unsigned short volume = 0;
|
||||
unsigned short count = 0;
|
||||
const unsigned short MAXCOUNTS = 3;
|
||||
|
||||
Reference in New Issue
Block a user