Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

SndFxPage.h

Go to the documentation of this file.
00001 #ifndef SNDFXPAGE_H
00002 #define SNDFXPAGE_H
00003 #include "PropertyPage.h"
00004 #include "VolatilePropertyBag.h"
00005 #include <vector>
00006 #include <utility>
00007 
00008 class SndFxPage: public PropertyPage
00009 {
00010 public:
00011         SndFxPage(const PropertyBag& prop,const Init& i=Init());
00012         virtual ~SndFxPage();
00013         const PropertyBag& getProperties()const{return m_prop;}
00014 protected:
00015         virtual BOOL PropPageProc(UINT uMsg,WPARAM wP,LPARAM lP);
00016 private:
00017         VolatilePropertyBag m_prop;
00018         void soundEnabled(bool b);
00019         void enableTestButton();
00020         void enableFileChoosing();
00021         void selectSound();
00022         bool isValidSoundFile()const;
00023         typedef std::pair<std::string,std::string> PropPair;
00024         typedef std::vector<PropPair> PropArray;
00025         static const PropArray& getPropArray();
00026         PropPair m_curPropPair;
00027 };
00028 
00029 
00030 #endif

Generated on Thu Jun 16 00:13:24 2005 for Abuse! by  doxygen 1.4.3