![[]](/images/special/trans.gif)
LibN2L-4 Library Code ReferenceClassesCompounds Files Members Method Index Full Reference cGuiACPlaySound.hGo to the documentation of this file.00001 #ifndef _n2l4_cGuiACPlaySound_h 00002 #define _n2l4_cGuiACPlaySound_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 cGuiACPlaySound : public cGuiACInt 00014 { 00015 public: 00016 cGuiACPlaySound( const cDynVar &iDef ); 00017 00018 virtual ~cGuiACPlaySound(); 00019 00020 virtual void load( const cDynVar &iDef ); 00021 00022 virtual void execute( cGuiElement *const ioElement, 00023 const tGuiActionType iType, const cDynVar &iData ); 00024 00025 virtual const cAutoPtr<cGuiACInt> clone() const; 00026 00027 protected: 00028 virtual void cloneInto( 00029 const cAutoPtr<cGuiACPlaySound> &ioElement ) const; 00030 00031 private: 00032 cAutoPtr<const cGuiSound> mSound; 00033 00034 cGuiACPlaySound(); 00035 00036 void init(); 00037 }; 00038 00039 } 00040 00041 #endif |