mirror of
https://github.com/Relintai/mourne_rcpp_fw.git
synced 2024-11-13 05:57:21 +01:00
23 lines
430 B
C
23 lines
430 B
C
|
#ifndef WEATHER_INITIALIZER_H
|
||
|
#define WEATHER_INITIALIZER_H
|
||
|
|
||
|
#include "weather_model.h"
|
||
|
#include "weather_controller.h"
|
||
|
|
||
|
class WeatherInitializer {
|
||
|
public:
|
||
|
static void allocate_controller();
|
||
|
static void free_controller();
|
||
|
|
||
|
static void allocate_model();
|
||
|
static void free_model();
|
||
|
|
||
|
static void allocate_all();
|
||
|
static void free_all();
|
||
|
|
||
|
protected:
|
||
|
static WeatherController *_controller;
|
||
|
static WeatherModel *_model;
|
||
|
};
|
||
|
|
||
|
#endif
|