00001 #ifndef SELECTABUSEDIALOG_H
00002 #define SELECTABUSEDIALOG_H
00003
00004 #include <abuse/analyze.h>
00005 #include <list>
00006 #include <string>
00007 #include "VolatilePropertyBag.h"
00008
00009 struct AbuseDialogReturn
00010 {
00011 bool bCanceled;
00012 bool bVlart;
00013 std::list<std::string> addresses;
00014 std::string mailserver;
00015 std::string email;
00016 std::string ccemail;
00017 };
00018
00019 class SelectAbuseDialog
00020 {
00021 public:
00022 AbuseDialogReturn select(HWND hFather,const AbuseDesks& abuse,bool bCopyToSelf,
00023 const std::string& mailserver,const std::string& email,
00024 const std::string& ccemail,const std::string& uce,const std::string& analysis);
00025 private:
00026 static LRESULT CALLBACK _dlgProc(HWND hWnd,UINT uMsg,WPARAM wP,LPARAM lP);
00027 LRESULT dlgProc(UINT uMsg,WPARAM wP,LPARAM lP);
00028 HWND m_hWnd;
00029 AbuseDialogReturn m_results;
00030
00031 const AbuseDesks* m_pAbuse;
00032 bool m_bCopyToSelf;
00033 std::string m_analysis;
00034 std::string m_uce;
00035 };
00036
00037 #endif