Main Page   Class Hierarchy   Compound List   File List   Compound Members  

snddlg.h

00001 /*
00002  * Purpose: Sample application for demonstrating and testing the wxWindows email support
00003  * Author:  Frank Buß
00004  * Created: 2002
00005  */
00006 
00007 #ifndef SNDDLG_H
00008 #define SNDDLG_H
00009 
00010 #include <wx/wx.h>
00011 #include <wx/listctrl.h>
00012 
00013 #include "smtp.h"
00014 
00015 class WinoDialog;
00016 
00020 class SendDialog : public wxDialog, public wxSMTPListener
00021 {
00022 public:
00026     SendDialog(WinoDialog& winoDialog);
00027 
00028     virtual ~SendDialog();
00029 
00033     void OnSocketError(int errorCode);
00034 
00038     void OnRecipientAdded(const wxString& address, int errorCode);
00039 
00043     void OnDataSent(int errorCode);
00044 
00045 private:
00046     wxSMTP* m_pSMTP;
00047     wxEmailMessage* m_pMessage;
00048 
00049     wxStaticText* m_pStatusText;
00050     wxStaticText* m_pEmailCountText;
00051     wxStaticText* m_pEmailSuccessText;
00052     wxTextCtrl* m_pLogTextCtrl;
00053 
00054     size_t m_successCount;
00055 
00056     DECLARE_EVENT_TABLE()
00057 };
00058 
00059 
00060 #endif

Generated on Mon May 6 01:14:20 2002 for Wino by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001