Added FreeObserver() and all assorted code that goes with it.
[aesalon.git] / src / gui / ActiveSessionBlockView.h
blobe44ff75741082f8fd31483d76ba0db6a64b2a57f
1 #ifndef AESALON_GUI_ACTIVE_SESSION_BLOCK_VIEW_H
2 #define AESALON_GUI_ACTIVE_SESSION_BLOCK_VIEW_H
4 #include <QWidget>
5 #include <QTableWidget>
7 #include "platform/Memory.h"
8 #include "platform/Event.h"
10 namespace Aesalon {
11 namespace GUI {
13 class ActiveSessionBlock {
14 public:
18 class ActiveSessionBlockView : public QTableWidget { Q_OBJECT
19 private:
20 Platform::Memory *memory;
21 public:
22 ActiveSessionBlockView(Platform::Memory *memory, QWidget *parent = 0);
23 virtual ~ActiveSessionBlockView();
24 public slots:
25 void memory_changed(Platform::Event *event);
28 } // namespace GUI
29 } // namespace Aesalon
31 #endif