Files
Sourcetrail/src/lib/component/controller/RefreshController.h
T
Eberhard Graether fb170cbd5d ui: added universal font size setting and shortcuts for changing it
This change adds font size and font family to the ApplicationSettings to have a single point for manipulating them. The
font size can also be changed via the menu or the zoomIn and zoomOut shortcuts on all platforms.
2015-07-15 00:38:10 +02:00

30 lines
719 B
C++

#ifndef REFRESH_CONTROLLER_H
#define REFRESH_CONTROLLER_H
#include "component/controller/Controller.h"
#include "utility/messaging/MessageListener.h"
#include "utility/messaging/type/MessageAutoRefreshChanged.h"
#include "utility/messaging/type/MessageWindowFocus.h"
class RefreshView;
class RefreshController
: public Controller
, public MessageListener<MessageAutoRefreshChanged>
, public MessageListener<MessageWindowFocus>
{
public:
RefreshController();
virtual ~RefreshController();
private:
virtual void handleMessage(MessageAutoRefreshChanged* message);
virtual void handleMessage(MessageWindowFocus* message);
RefreshView* getView();
bool m_autoRefreshEnabled;
};
#endif // REFRESH_CONTROLLER_H