00001 /*---------------------------------------------------------------------\ 00002 | | 00003 | __ __ ____ _____ ____ | 00004 | \ \ / /_ _/ ___|_ _|___ \ | 00005 | \ V / _` \___ \ | | __) | | 00006 | | | (_| |___) || | / __/ | 00007 | |_|\__,_|____/ |_| |_____| | 00008 | | 00009 | core system | 00010 | (C) SuSE GmbH | 00011 \----------------------------------------------------------------------/ 00012 00013 File: YFrame.h 00014 00015 Author: Stefan Hundhammer <sh@suse.de> 00016 Maintainer: Stefan Hundhammer <sh@suse.de> 00017 00018 /-*/ 00019 00020 #ifndef YFrame_h 00021 #define YFrame_h 00022 00023 #include <ycp/YCPString.h> 00024 #include "YContainerWidget.h" 00025 00029 class YFrame : public YContainerWidget 00030 { 00031 public: 00035 YFrame( const YWidgetOpt & opt, const YCPString & label ); 00036 00041 virtual char *widgetClass() { return "YFrame"; } 00042 00046 YCPValue changeWidget( const YCPSymbol & property, const YCPValue & newvalue ); 00047 00051 YCPValue queryWidget( const YCPSymbol & property ); 00052 00057 virtual void setLabel( const YCPString & label ); 00058 00062 YCPString getLabel(); 00063 00064 00065 protected: 00069 YCPString label; 00070 }; 00071 00072 00073 #endif // YFrame_h 00074