/usr/include/codeblocks/cbauibook.h is in codeblocks-dev 10.05-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | /*
* This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
* http://www.gnu.org/licenses/lgpl-3.0.html
*/
#ifndef CBAUIBOOK_H_INCLUDED
#define CBAUIBOOK_H_INCLUDED
#include <wx/aui/auibook.h>
#include <wx/dynarray.h>
WX_DEFINE_ARRAY_PTR(wxAuiTabCtrl*,cbAuiTabCtrlArray);
class cbAuiNotebook : public wxAuiNotebook
{
public:
cbAuiNotebook(wxWindow* pParent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxAUI_NB_DEFAULT_STYLE);
// Advances the selection, generation page selection events
void AdvanceSelection(bool forward = true);
wxString SavePerspective();
bool LoadPerspective(const wxString& layout);
int GetTabPositionFromIndex(int index);
protected:
#if wxCHECK_VERSION(2, 9, 0)
void OnNavigationKeyNotebook(wxNavigationKeyEvent& event);
#else
void OnNavigationKey(wxNavigationKeyEvent& event);
#endif
void UpdateTabControlsArray();
cbAuiTabCtrlArray m_TabCtrls;
DECLARE_EVENT_TABLE()
};
#endif // CBAUIBOOK_H_INCLUDED
|