17 lines
232 B
C++
17 lines
232 B
C++
|
/*
|
|||
|
* Observer.hpp
|
|||
|
*
|
|||
|
* Created on: 31 окт. 2021 г.
|
|||
|
* Author: alexander
|
|||
|
*/
|
|||
|
|
|||
|
#pragma once
|
|||
|
|
|||
|
class Observer
|
|||
|
{
|
|||
|
public:
|
|||
|
virtual void update(float temp, float humidity, float pressure) = 0;
|
|||
|
|
|||
|
virtual ~Observer() {}
|
|||
|
};
|