AaronCameron.net
I care not for your petty politics.
Not a Member? - Login or Create an Account
Sunday the 20th of May 2012 @ 04:04pm
Front Page Journal Projects Your Profile About
[]

LibN2L-4 Library Code Reference

Classes
Compounds
Files
Members
Method Index
Full Reference

cGuiACAddEffect.h

Go to the documentation of this file.
00001 #ifndef _n2l4_cGuiACAddEffect_h
00002 #define _n2l4_cGuiACAddEffect_h
00003 
00004 #include "n2l/n2l.h"
00005 #include "n2l/gui.h"
00006 #include "n2l/dynVars.h"
00007 
00008 /******************************************************************************/
00009 namespace n2l
00010 {
00011     class cGuiACAddEffect : public cGuiACInt
00012     {
00013     public:
00014         cGuiACAddEffect( const cAutoPtr<const cGuiSEInt> &ioEffect,
00015             const tString &iElementName = "" );
00016 
00017         cGuiACAddEffect( const cDynVar &iDef );
00018 
00019         virtual ~cGuiACAddEffect();
00020 
00021         virtual void load( const cDynVar &iDef );
00022 
00023         virtual void execute( cGuiElement *const ioElement,
00024             const tGuiActionType iType, const cDynVar &iData );
00025 
00026         virtual const cAutoPtr<cGuiACInt> clone() const;
00027 
00028     protected:
00029         virtual void cloneInto(
00030             const cAutoPtr<cGuiACAddEffect> &ioElement ) const;
00031 
00032     private:
00033         cAutoPtr<const cGuiSEInt> mEffect;
00034         tString mElementName;
00035 
00036         cGuiACAddEffect();
00037 
00038         void init();
00039     };
00040 
00041 }
00042 
00043 #endif
©2012 Aaron Cameron