![[]](/images/special/trans.gif)
LibN2L-4 Library Code ReferenceClassesCompounds Files Members Method Index Full Reference cGuiACList.hGo to the documentation of this file.00001 #ifndef _n2l4_cGuiACList_h 00002 #define _n2l4_cGuiACList_h 00003 00004 #include "n2l/n2l.h" 00005 #include "n2l/gui.h" 00006 #include "n2l/dynVars.h" 00007 00008 #include <list> 00009 00010 /******************************************************************************/ 00011 namespace n2l 00012 { 00013 class cGuiACList : public cGuiACInt 00014 { 00015 public: 00016 cGuiACList( const cDynVar &iDef ); 00017 00018 virtual ~cGuiACList(); 00019 00020 virtual void load( const cDynVar &iDef ); 00021 00022 // We're preserved so long as we have children. 00023 virtual const tBool preserveAction() const; 00024 00025 virtual void execute( cGuiElement *const ioElement, 00026 const tGuiActionType iType, const cDynVar &iData ); 00027 00028 virtual const cAutoPtr<cGuiACInt> clone() const; 00029 00030 protected: 00031 virtual void cloneInto( 00032 const cAutoPtr<cGuiACList> &ioElement ) const; 00033 00034 private: 00035 typedef std::list<cAutoPtr<cGuiACInt> > tACList; 00036 tACList mList; 00037 00038 cGuiACList(); 00039 00040 void init(); 00041 }; 00042 00043 } 00044 00045 #endif |