blob: 9c309273ea34f3bc73bbe66e3d0a04586498a3cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "CarPart.h"
#include "String.h"
#include <istream>
#include <ostream>
class Battery : CarPart {
unsigned short capacity;
String batteryID;
public:
Battery();
Battery(unsigned short capacity, const char* batteryID);
};
std::ostream& operator<<(std::ostream& ostr, const Battery& bat);
|