blob: e716e9100fd08c282d03fca220008c6ad5d4f435 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef VOLUME_H
#define VOLUME_H
#include "AbstractData.h"
class Volume : public AbstractData
{
public:
// Constructors
Volume();
Volume(unsigned char* byte); // Parse Immidiately
Volume(unsigned char volume, bool); // Set value
// Direct Getters / Setters
unsigned char GetVolume();
void SetVolume(unsigned char value);
// Re-implementations
virtual std::string GenAsm();
virtual bool IsValid(unsigned char* byte);
virtual bool Parse(unsigned char* byte);
virtual unsigned int Arguments();
private:
unsigned char volume;
};
#endif
|