The LocalWeatherLightFetcher class is the interface level class if later, the projects using C++23, we shell try to use the concept to redefined the class Interface for the lower cost in performance. More...
#include <localweathercard.h>
Public Member Functions | |
LocalWeatherLightFetcher ()=default | |
Construct a new Local Weather Light Fetcher object. | |
Q_DISABLE_COPY (LocalWeatherLightFetcher) | |
disable copy | |
virtual float | fetch_local_tempature ()=0 |
fetch_local_tempature is the main function to fetch the local temperature | |
virtual QString | makeup_toast_message ()=0 |
makeup_toast_message is the message that will be displayed in the toast, so this functions is using in indicating how to format the message | |
The LocalWeatherLightFetcher class is the interface level class if later, the projects using C++23, we shell try to use the concept to redefined the class Interface for the lower cost in performance.
|
pure virtual |
fetch_local_tempature is the main function to fetch the local temperature
Implemented in PesudoLocalFetcher, and LocalFetcher.
|
pure virtual |
makeup_toast_message is the message that will be displayed in the toast, so this functions is using in indicating how to format the message
Implemented in PesudoLocalFetcher, and LocalFetcher.