Code::Blocks  SVN r11506
startherepage.h
Go to the documentation of this file.
1 /*
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
4  */
5 
6 #ifndef STARTHEREPAGE_H
7 #define STARTHEREPAGE_H
8 
9 #ifndef CB_PRECOMP
10  #include <editorbase.h>
11 #endif
12 
13 extern const wxString g_StartHereTitle;
14 
15 class wxHtmlWindow;
16 class wxHtmlLinkInfo;
17 class RecentItemsList;
18 
19 class StartHerePage : public EditorBase
20 {
22 
23  public:
24  StartHerePage(wxEvtHandler* owner, const RecentItemsList &projects,
25  const RecentItemsList &files, wxWindow* parent);
26  virtual ~StartHerePage();
27 
28  bool LinkClicked(const wxHtmlLinkInfo& link);
29  virtual bool VisibleToTree() const { return false; }
30  void Reload();
31  private:
32  void RegisterColours();
33  protected:
39  private:
40  DECLARE_EVENT_TABLE()
41 };
42 
43 #endif // STARTHEREPAGE_H
void RegisterColours()
const RecentItemsList & m_files
Definition: startherepage.h:38
wxString m_OriginalPageContent
Definition: startherepage.h:36
Base class that all "editors" should inherit from.
Definition: editorbase.h:30
wxString revInfo
Definition: startherepage.h:21
const wxString g_StartHereTitle
StartHerePage(wxEvtHandler *owner, const RecentItemsList &projects, const RecentItemsList &files, wxWindow *parent)
virtual bool VisibleToTree() const
Should this kind of editor be visible in the open files tree?
Definition: startherepage.h:29
wxHtmlWindow * m_pWin
Definition: startherepage.h:35
bool LinkClicked(const wxHtmlLinkInfo &link)
virtual ~StartHerePage()
wxEvtHandler * m_pOwner
Definition: startherepage.h:34
const RecentItemsList & m_projects
Definition: startherepage.h:37