~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/include/searchresultslog.h

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

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 Lesser General Public License, version 3
 
3
 * http://www.gnu.org/licenses/lgpl-3.0.html
 
4
 */
 
5
 
 
6
#ifndef CB_SEARCHRESULTSLOG_H
 
7
#define CB_SEARCHRESULTSLOG_H
 
8
 
 
9
#include <wx/string.h>
 
10
#include "loggers.h"
 
11
 
 
12
class wxArrayString;
 
13
class wxCommandEvent;
 
14
 
 
15
class DLLIMPORT cbSearchResultsLog : public ListCtrlLogger, public wxEvtHandler
 
16
{
 
17
        public:
 
18
                cbSearchResultsLog(const wxArrayString& titles, wxArrayInt& widths);
 
19
                virtual ~cbSearchResultsLog();
 
20
                void FocusEntry(size_t index);
 
21
                void SetBasePath(const wxString base){ m_Base = base; }
 
22
 
 
23
                virtual wxWindow* CreateControl(wxWindow* parent);
 
24
        protected:
 
25
        void OnDoubleClick(wxCommandEvent& event);
 
26
        void SyncEditor(int selIndex);
 
27
 
 
28
        wxString m_Base;
 
29
        private:
 
30
        DECLARE_EVENT_TABLE()
 
31
};
 
32
 
 
33
#endif // CB_SEARCHRESULTSLOG_H