Using less bash scripting
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#ifndef VOLUME_H
|
||||
#define VOLUME_H
|
||||
|
||||
#include<string>
|
||||
|
||||
class Volume
|
||||
{
|
||||
public:
|
||||
|
||||
Volume()
|
||||
{
|
||||
|
||||
}
|
||||
void setVolume(const unsigned short& volume)
|
||||
{
|
||||
this->volume = volume;
|
||||
}
|
||||
|
||||
unsigned short getVolume() const
|
||||
{
|
||||
return volume;
|
||||
}
|
||||
void updateTheCurrentVolume();
|
||||
virtual void updateVolume() = 0;
|
||||
|
||||
protected:
|
||||
|
||||
unsigned short volume;
|
||||
const unsigned short AFFECTAMOUNT = 20;
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user