1
/***************************************************************
2
* Name: ThreadSearchViewManagerMessagesNotebook
3
* Purpose: Implements the ThreadSearchViewManagerBase
4
* interface to make the ThreadSearchView panel
5
* managed by the Messages notebook.
6
* Author: Jerome ANTOINE
8
* Copyright: Jerome ANTOINE
10
**************************************************************/
13
#ifndef THREAD_SEARCH_VIEW_MANAGER_MESSAGES_NOTEBOOK_H
14
#define THREAD_SEARCH_VIEW_MANAGER_MESSAGES_NOTEBOOK_H
18
#include "ThreadSearchViewManagerBase.h"
21
class ThreadSearchView;
22
class ThreadSearchLogger;
25
class ThreadSearchViewManagerMessagesNotebook : public ThreadSearchViewManagerBase
29
ThreadSearchViewManagerMessagesNotebook(ThreadSearchView* pThreadSearchView)
30
: ThreadSearchViewManagerBase(pThreadSearchView)
34
virtual ~ThreadSearchViewManagerMessagesNotebook();
36
eManagerTypes GetManagerType() {return TypeMessagesNotebook;}
38
/** By default, view is not managed by the manager.
39
* This method adds view to manager if not already managed.
40
* No parameters because only m_pThreadSearchView is managed
41
* and given in constructor.
43
virtual void AddViewToManager();
45
/** By default, view is not managed by the manager.
46
* This method removes view from manager if managed.
47
* No parameters because only m_pThreadSearchView is managed
48
* and given in constructor.
49
* m_pThreadSearchView is not modified.
51
virtual void RemoveViewFromManager();
53
/** Return true if success. Fails if view is not managed.
54
* @param show : true => show, false => hide
55
* @return true if success.
57
virtual bool ShowView(bool show = true);
59
/** Return true if view is visible.
60
* @return true if view is visible.
67
#endif // THREAD_SEARCH_VIEW_MANAGER_MESSAGES_NOTEBOOK_H