Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / 13-Practice-31.05.2022 / Control.h
blob: ba56100f5ec024d6c97f6b3df07129b839c1ed5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "Location.h"
#include "Size.h"

class Control {
	Location location;
	Size size;

public:
	virtual void setDataDialog() = 0;
	virtual void changeSize(Size newSize) {
		size = newSize;
	}

	Location get_loc() const {
		return location;
	}
};