00001 /************************************************************************ 00002 filename: CEGUITabPane.h 00003 created: 8/8/2004 00004 author: Steve Streeting 00005 00006 purpose: Defines interface for the content area of a tab control 00007 *************************************************************************/ 00008 /************************************************************************* 00009 Crazy Eddie's GUI System (http://www.cegui.org.uk) 00010 Copyright (C)2004 - 2005 Paul D Turner (paul@cegui.org.uk) 00011 00012 This library is free software; you can redistribute it and/or 00013 modify it under the terms of the GNU Lesser General Public 00014 License as published by the Free Software Foundation; either 00015 version 2.1 of the License, or (at your option) any later version. 00016 00017 This library is distributed in the hope that it will be useful, 00018 but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00020 Lesser General Public License for more details. 00021 00022 You should have received a copy of the GNU Lesser General Public 00023 License along with this library; if not, write to the Free Software 00024 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00025 *************************************************************************/ 00026 #ifndef _CEGUITabPane_h_ 00027 #define _CEGUITabPane_h_ 00028 00029 #include "elements/CEGUIStatic.h" 00030 00031 00032 #if defined(_MSC_VER) 00033 # pragma warning(push) 00034 # pragma warning(disable : 4251) 00035 #endif 00036 00037 00038 // Start of CEGUI namespace section 00039 namespace CEGUI 00040 { 00045 class CEGUIEXPORT TabPane : public Static 00046 { 00047 public: 00048 /************************************************************************* 00049 Construction and Destruction 00050 *************************************************************************/ 00055 TabPane(const String& type, const String& name) : Static(type, name) {} 00056 00057 00062 virtual ~TabPane(void) {} 00063 00064 00065 /************************************************************************* 00066 Accessors 00067 *************************************************************************/ 00068 00069 /************************************************************************* 00070 Manipulators 00071 *************************************************************************/ 00072 00073 protected: 00074 /************************************************************************* 00075 Overridden from base class 00076 *************************************************************************/ 00077 00078 /************************************************************************* 00079 Implementation methods 00080 *************************************************************************/ 00091 virtual bool testClassName_impl(const String& class_name) const 00092 { 00093 if (class_name==(const utf8*)"Tabpane") return true; 00094 return Static::testClassName_impl(class_name); 00095 } 00096 00097 /************************************************************************* 00098 Implementation Data 00099 *************************************************************************/ 00100 00101 private: 00102 /************************************************************************* 00103 Static Properties for this class 00104 *************************************************************************/ 00105 00106 00107 /************************************************************************* 00108 Private methods 00109 *************************************************************************/ 00110 }; 00111 00112 } // End of CEGUI namespace section 00113 00114 #if defined(_MSC_VER) 00115 # pragma warning(pop) 00116 #endif 00117 00118 #endif // end of guard _CEGUITabPane_h_