00001 #ifndef TRUSTEDRANGESPAGE_H 00002 #define TRUSTEDRANGESPAGE_H 00003 00004 #include "PropertyPage.h" 00005 #include <list> 00006 #include <utility> 00007 00008 class TrustedRangesPage: public PropertyPage 00009 { 00010 public: 00011 TrustedRangesPage(const std::list<std::string>& initiallist,const Init& i=Init()); 00012 virtual ~TrustedRangesPage(); 00013 std::list<std::string> getResult()const; 00014 protected: 00015 virtual void ctor(); 00016 virtual bool canConfirm(std::string& errormsg); 00017 virtual BOOL PropPageProc(UINT uMsg,WPARAM wP,LPARAM lP); 00018 private: 00019 std::list<std::string> m_netranges; 00020 __inline DWORD getIpAddress(int nCtrlId); 00021 void assestResult(); 00022 }; 00023 #endif