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

DnsblResultsDialog.h

Go to the documentation of this file.
00001 // DnsblResultsDialog.h: interface for the DnsblResultsDialog class.
00002 //
00004 
00005 #if !defined(AFX_DNSBLRESULTSDIALOG_H__29496DF4_88A1_452D_BA61_A96A6037387B__INCLUDED_)
00006 #define AFX_DNSBLRESULTSDIALOG_H__29496DF4_88A1_452D_BA61_A96A6037387B__INCLUDED_
00007 
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011 
00012 #include <abuse/Dnsbl.h>
00013 #include <abuse/Url.h>
00014 #include "Dialog.h"
00015 #include <map>
00016 
00017 class DnsblResultsDialog: public Dialog
00018 {
00019 public:
00020         DnsblResultsDialog(const std::map<Url,Result>& results,HWND hParent,const Init& init=Init());
00021         virtual ~DnsblResultsDialog();
00022         const std::map<Url,Result>& getResult();
00023 protected:
00024         virtual void ctor()/*throw(SysError)*/;
00025 private:
00026         //has the map been modified?
00027         bool m_bDirty;
00028         //this is the local copy of the map
00029         std::map<Url,Result> m_results;
00030         /*
00031         dlg proc
00032         */
00033         BOOL dlgProc(UINT uMsg,WPARAM wP,LPARAM lP);
00034         void checkOk();
00035         void checkAdd();
00036         void checkRemove();
00037         __inline Url getUrl()const;
00038         void populateListView()const;
00039 };
00040 
00041 #endif // !defined(AFX_DNSBLRESULTSDIALOG_H__29496DF4_88A1_452D_BA61_A96A6037387B__INCLUDED_)

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