-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcbTerminalViewManagerMessagesNotebook.hpp
More file actions
51 lines (43 loc) · 1.48 KB
/
cbTerminalViewManagerMessagesNotebook.hpp
File metadata and controls
51 lines (43 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/***************************************************************
* Name: cbTerminalViewManagerMessagesNotebook
* Purpose: Implements the cbTerminalViewManagerBase
* interface to make the cbTerminalView panel
* managed by the Messages notebook.
* Author: Jerome ANTOINE
* Created: 2007-07-19
* Copyright: Jerome ANTOINE
* Copyright: Christo Joseph
* License: GPL
**************************************************************/
#ifndef CB_TERMINAL_VIEW_MANAGER_MESSAGES_NOTEBOOK_H
#define CB_TERMINAL_VIEW_MANAGER_MESSAGES_NOTEBOOK_H
#include <wx/version.h>
#include "cbTerminalViewManagerBase.hpp"
class wxBitmap;
#if wxCHECK_VERSION(3, 1, 6)
class wxBitmapBundle;
#endif
class wxWindow;
class cbTerminalView;
class cbTerminalLogger;
class cbTerminalViewManagerMessagesNotebook : public cbTerminalViewManagerBase
{
public:
cbTerminalViewManagerMessagesNotebook(cbTerminalView* pcbTerminalView)
: cbTerminalViewManagerBase(pcbTerminalView), m_Bitmap(nullptr)
{}
~cbTerminalViewManagerMessagesNotebook() override;
eManagerTypes GetManagerType() override { return TypeMessagesNotebook; }
void AddViewToManager() override;
void RemoveViewFromManager() override;
bool ShowView(uint32_t flags) override;
bool IsViewShown() override;
void Raise() override;
private:
#if wxCHECK_VERSION(3, 1, 6)
wxBitmapBundle *m_Bitmap;
#else
wxBitmap *m_Bitmap;
#endif
};
#endif // CB_TERMINAL_VIEW_MANAGER_MESSAGES_NOTEBOOK_H