aboutsummaryrefslogtreecommitdiff
path: root/week12/Exercise3/MobileDevice.h
blob: b9de538cf131fc4b4446433861040d71d7d207ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

class MobileDevice {
protected:
	unsigned phoneNumber;
	char textMessage[512];

public:
	virtual ~MobileDevice() = default;

	virtual void Show() = 0;
	bool CanAccept(const char* hyperMessage);
	void Accept(const char* hyperMessage);
};