source: src/UIElements/CommandLineUI/CommandLineStatusIndicator.hpp

Candidate_v1.6.1
Last change on this file was 378f2d5, checked in by Frederik Heber <heber@…>, 11 years ago

Updated all UI's StatusIndicator classes to use ActionStatusList.

  • Property mode set to 100644
File size: 943 bytes
Line 
1/*
2 * CommandLineStatusIndicator.hpp
3 *
4 * Created on: May 8, 2010
5 * Author: heber
6 */
7
8#ifndef COMMANDLINESTATUSINDICATOR_HPP_
9#define COMMANDLINESTATUSINDICATOR_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16
17#include "CodePatterns/Observer/Observer.hpp"
18
19namespace MoleCuilder {
20 class ActionStatusList;
21}
22
23class Observable;
24
25class CommandLineStatusIndicator : public Observer
26{
27public:
28 CommandLineStatusIndicator();
29 virtual ~CommandLineStatusIndicator();
30
31 void update(Observable *subject);
32 void subjectKilled(Observable *subject);
33 void recieveNotification(Observable *_publisher, Notification *_notification);
34
35private:
36 void displayStatusMessage() const;
37
38private:
39 //!> reference to the StatusList we are signed on
40 MoleCuilder::ActionStatusList& StatusList;
41 //!> indicates whether we are currently signed on
42 bool StatusList_signedOn;
43};
44
45#endif /* COMMANDLINESTATUSINDICATOR_HPP_ */
Note: See TracBrowser for help on using the repository browser.