aboutsummaryrefslogtreecommitdiff
path: root/week12/Exercise3/TelecommunicationCompany.h
blob: 405d1348ad297bdd286d8dc5117728a27b465002 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once
#include "MobileDevice.h"

class TelecommunicationCompany {
	MobileDevice** devices;
	unsigned size;
	unsigned allocated;

	void resize();

	void free();
	void copyFrom(const TelecommunicationCompany& other);

public:
	TelecommunicationCompany();
	~TelecommunicationCompany();
	TelecommunicationCompany(const TelecommunicationCompany& other);
	TelecommunicationCompany& operator=(const TelecommunicationCompany& other);
	TelecommunicationCompany(TelecommunicationCompany&& other);
	TelecommunicationCompany& operator=(TelecommunicationCompany&& other);
};