blob: 6fcbb7692e2c627f450d00d9a65f788f92f7ffd3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "Battery.h"
Battery::Battery() : Battery(0, "") {}
Battery::Battery(unsigned short capacity, const char* batteryID) {
this->capacity = capacity;
this->batteryID = batteryID;
}
std::ostream& operator<<(std::ostream& ostr, const Battery& bat) {
return ostr << "(" << bat.
}
|