wxFlickrFrm.h

00001 
00065 
00066 // Name:        wxFlickrFrm.h
00067 // Purpose:     
00068 // Author:      
00069 // Modified by: 
00070 // Created:     
00071 // RCS-ID:      
00072 // Copyright:   (C)2005 
00073 // Licence:     wxWindows
00074 // Generated with wxWinWizard by KoanSoftware.com
00076 
00077 #ifndef wxFlickrFrame_H
00078 #define wxFlickrFrame_H
00079 
00080 // wx includes
00081 #include <wx/textctrl.h>
00082 
00083 // local includes
00084 #include "wxFlickrClient.h"
00085 #include "wxFlickrEvent.h"
00086 
00087 using namespace wxFlickrAPI;
00088 
00089 class wxFlickrDlg : public wxDialog {
00090 public:
00091   wxFlickrDlg(wxWindow *pParent);
00092   virtual ~wxFlickrDlg();
00093   void SetText(wxString sText);
00094 private:
00095   wxTextCtrl *m_pTexter;
00096 };
00097 
00098 class wxFlickrFrame : public wxFrame {
00099 public:
00100   // ctor(s)
00101   wxFlickrFrame(const wxString& title, const wxPoint& pos, const wxSize& size, long style = wxDEFAULT_FRAME_STYLE);
00102         virtual ~wxFlickrFrame();
00103 
00104   // event handlers (these functions should _not_ be virtual)
00105   void OnQuit(wxCommandEvent& event);
00106   void OnAbout(wxCommandEvent& event);
00107   void OnSend(wxCommandEvent& WXUNUSED(event));
00108   void OnFlickrEvent(wxFlickrEvent& event);
00109   void OnPaint(wxPaintEvent& WXUNUSED(event));
00110 
00111 private:
00112   DECLARE_CLASS(wxFlickrFrame)
00113   // any class wishing to process wxWindows events must use this macro
00114   DECLARE_EVENT_TABLE()
00115         void CreateGUI();
00116   void SetupDemoChoices();
00117   void SetImage(wxFlickrPhoto* pPhoto);
00118   wxFlickrPhoto *m_pImage;
00119   wxArrayString m_aDemoChoices;
00120   wxChoice *m_pChoiceBox;
00121   wxButton *m_pSendBtn;
00122   wxFlickrClient *m_pClient;
00123   wxFlickrAPIMethod *m_pCurrentMethod;
00124   wxFlickrDlg *m_pDlg;
00125 };
00126 
00127 #endif // wxFlickrFrame_H

Generated on Mon Feb 20 11:06:41 2006 for wxFlickr by  doxygen 1.4.6-NO