1 #ifndef SPRINGLOBBY_HEADERGUARD_AUIMANAGER_H 2 #define SPRINGLOBBY_HEADERGUARD_AUIMANAGER_H 3 4 #include <wx/aui/aui.h> 5 6 class wxAuiManagerDupe { 7 public: 8 wxAuiManagerDupe(wxWindow* /*managed_wnd*/ = NULL, unsigned int /*flags*/ = 0 ) {} 9 bool AddPane(wxWindow* /*window*/, int /*direction*/ = wxLEFT, const wxString& /*caption */= wxEmptyString) const { return false; } DetachPane(wxWindow *)10 bool DetachPane(wxWindow* /*window*/) const { return false; } UnInit()11 void UnInit() const {} SavePerspective()12 wxString SavePerspective() const { return wxEmptyString; } 13 bool LoadPerspective(const wxString& /*perspective*/, bool /*update*/ = true) const { return false; } 14 }; 15 16 class AuiManagerContainer 17 { 18 public: AuiManagerContainer()19 AuiManagerContainer() : manager(NULL) {} 20 21 typedef wxAuiManager 22 ManagerType; 23 24 ManagerType* manager; 25 }; 26 27 AuiManagerContainer& GetAui(); 28 29 30 31 #endif // SPRINGLOBBY_HEADERGUARD_AUIMANAGER_H 32 33 /** 34 This file is part of SpringLobby, 35 Copyright (C) 2007-2011 36 37 SpringLobby is free software: you can redistribute it and/or modify 38 it under the terms of the GNU General Public License version 2 as published by 39 the Free Software Foundation. 40 41 SpringLobby is distributed in the hope that it will be useful, 42 but WITHOUT ANY WARRANTY; without even the implied warranty of 43 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 44 GNU General Public License for more details. 45 46 You should have received a copy of the GNU General Public License 47 along with SpringLobby. If not, see <http://www.gnu.org/licenses/>. 48 **/ 49 50