~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/plugins/compilergcc/compilermessages.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 COMPILERMESSAGES_H
 
7
#define COMPILERMESSAGES_H
 
8
 
 
9
#include "loggers.h"
 
10
 
 
11
class CompilerErrors;
 
12
class wxArrayString;
 
13
class wxCommandEvent;
 
14
 
 
15
class CompilerMessages : public ListCtrlLogger, public wxEvtHandler
 
16
{
 
17
    public:
 
18
        CompilerMessages(const wxArrayString& titles, const wxArrayInt& widths);
 
19
        virtual ~CompilerMessages();
 
20
        virtual void SetCompilerErrors(CompilerErrors* errors){ m_pErrors = errors; }
 
21
        virtual void FocusError(int nr);
 
22
 
 
23
        virtual wxWindow* CreateControl(wxWindow* parent);
 
24
    private:
 
25
        void OnClick(wxCommandEvent& event);
 
26
        void OnDoubleClick(wxCommandEvent& event);
 
27
 
 
28
        CompilerErrors* m_pErrors;
 
29
 
 
30
        DECLARE_EVENT_TABLE()
 
31
};
 
32
 
 
33
#endif // COMPILERMESSAGES_H
 
34