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

LartPage.h

Go to the documentation of this file.
00001 // LartPage.h: interface for the LartPage class.
00002 //
00004 
00005 #if !defined(AFX_LARTPAGE_H__5243C1BD_3901_4A2C_8CA6_227373DAAA62__INCLUDED_)
00006 #define AFX_LARTPAGE_H__5243C1BD_3901_4A2C_8CA6_227373DAAA62__INCLUDED_
00007 
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011 
00012 #include <string>
00013 #include <map>
00014 #include "PropertyPage.h"
00015 #include "VolatilePropertyBag.h"
00016 #include "LartSubPage.h"
00017 
00018 
00019 class PropertyBag;
00020 
00021 class LartPage : public PropertyPage  
00022 {
00023 private:
00024         enum LartType{_SPAM,_RELAY,_PROXY};
00025 public:
00026         enum Method{NONE,MAILTO,OUTLOOK,DIRECTTOMX};
00027         LartPage(const PropertyBag& larts, const Init& init=Init());
00028         virtual ~LartPage();
00029         const PropertyBag& getProperties()const;
00030         virtual void addPage(std::list<PropertyPage*>& lst);
00031 protected:
00032         BOOL PropPageProc(UINT uMsg,WPARAM wP,LPARAM lP);
00033         virtual bool canConfirm(std::string& errormsg);
00034 private:
00035         VolatilePropertyBag m_prop;
00036         HWND m_hWndLartUsing;
00037         HWND m_hWndSig;
00038         Property* m_propSubject;
00039         Property* m_propBody;
00040         void enableCommonProperties(bool b);
00041         const std::string& getLart(LartType lt)const;
00042         void destroySubPage();
00043         void createSubPage(Method meth);
00044         LartSubPage* m_pSubPage;                
00045 };
00046 
00047 #endif // !defined(AFX_LARTPAGE_H__5243C1BD_3901_4A2C_8CA6_227373DAAA62__INCLUDED_)

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