00001
00002
00003
00004
00005
00006
00007 #ifndef WINO_H
00008 #define WINO_H
00009
00010 #include <wx/wx.h>
00011 #include <wx/listctrl.h>
00012
00013 #if !defined(__WXMSW__)
00014 extern char* wino_xpm[];
00015 #endif
00016
00020 class WinoApp : public wxApp
00021 {
00022 public:
00028 bool OnInit();
00029 };
00030
00034 class WinoDialog : public wxDialog
00035 {
00036 public:
00040 WinoDialog(wxWindow *parent);
00041 ~WinoDialog();
00042
00046 void OnSendButton(wxCommandEvent &event);
00047
00051 void OnFileAddButton(wxCommandEvent &event);
00052
00056 void OnFileRemoveButton(wxCommandEvent &event);
00057
00061 void OnAddressAddButton(wxCommandEvent &event);
00062
00066 void OnAddressRemoveButton(wxCommandEvent &event);
00067
00068 private:
00069 wxTextCtrl* m_pServerTextCtrl;
00070 wxTextCtrl* m_pFromTextCtrl;
00071 wxTextCtrl* m_pToTextCtrl;
00072 wxTextCtrl* m_pSubjectTextCtrl;
00073 wxTextCtrl* m_pTextTextCtrl;
00074 wxListBox* m_pFilelist;
00075 wxListBox* m_pAddresslist;
00076
00077 DECLARE_EVENT_TABLE()
00078
00079 friend class SendDialog;
00080 };
00081
00082
00083 #endif