00001 #ifndef MAPIDIALOG_H
00002 #define MAPIDIALOG_H
00003
00004 #include <abuse/abuse.h>
00005 #include <mapix.h>
00006 #include <mapiutil.h>
00007 #include "mapi_utils.h"
00008 #include <commctrl.h>
00009
00010 enum MapiOption{DEFAULTMSGSTORE,DEFAULTMSGCLEANUP,ALLMSGSTORES};
00011 void doMapiDialogProc(HWND hParent,int DlgTemplate,const PropertyBag& prop,
00012 int mOption,std::string& MsgFolderName,std::string& RetryFolderName);
00013
00014
00015 #define MFLG_DELETE_MSGS 0x00000001 // Delete msgs after processing
00016 #define MFLG_MOVE_MSGS 0x00000002 // Move msgs after processing to wastebasket
00017 #define MOPT_JUSTDOIT 0x00008000 // Go right to processing
00018
00019 #endif