2
* This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
3
* http://www.gnu.org/licenses/gpl-3.0.html
5
* Copyright: 2010 Jens Lody
8
* $Id: ReopenEditor.h 7443 2011-09-01 16:29:16Z mortenmacfly $
9
* $HeadURL: http://svn.code.sf.net/p/codeblocks/code/branches/release-16.xx/src/plugins/contrib/ReopenEditor/ReopenEditor.h $
12
#ifndef REOPEN_EDITOR_H_INCLUDED
13
#define REOPEN_EDITOR_H_INCLUDED
16
#include "ReopenEditorListView.h"
19
WX_DEFINE_ARRAY_PTR(cbProject*, ProjectPtrArray);
21
class ReopenEditor : public cbPlugin
27
int GetConfigurationPriority() const
31
int GetConfigurationGroup() const
35
cbConfigurationPanel* GetConfigurationPanel(wxWindow* parent);
36
cbConfigurationPanel* GetProjectConfigurationPanel(wxWindow* /*parent*/, cbProject* /*project*/)
40
void BuildMenu(wxMenuBar* menuBar);
41
void BuildModuleMenu(const ModuleType /*type*/, wxMenu* /*menu*/, const FileTreeData* /*data*/ = 0) {}
42
bool BuildToolBar(wxToolBar* /*toolBar*/) {return false;}
43
virtual void SetManaged(bool managed = true);
44
virtual void ShowList();
48
void OnRelease(bool appShutDown);
49
void OnReopenEditor(wxCommandEvent& event);
50
void OnProjectClosed(CodeBlocksEvent& event);
51
void OnProjectOpened(CodeBlocksEvent& event);
52
void OnEditorClosed(CodeBlocksEvent& event);
53
void OnEditorOpened(CodeBlocksEvent& event);
54
void OnViewList(wxCommandEvent& event);
55
void OnUpdateUI(wxUpdateUIEvent& event);
56
void OnDoubleClick( wxListEvent& event );
57
void DoReopenEditor(long item);
58
ProjectPtrArray m_ClosedProjects;
59
ReopenEditorListView* m_pListLog;
66
#endif // REOPEN_EDITOR_H_INCLUDED