ProblemDialog.h

00001 
00009 #ifndef _ProblemDialog_h
00010 #define _ProblemDialog_h
00011 
00012 // SYSTEM INCLUDES
00013 //
00014 
00015 // PROJECT INCLUDES
00016 //
00017 #include <wx/dialog.h>
00018 
00019 // LOCAL INCLUDES
00020 //
00021 #include "../ProblemBase.h"
00022 
00023 #include "ProblemChoice.h"
00024 
00025 // FORWARD REFERENCES
00026 //
00027 
00028 
00029 class ProblemDialog
00030     : public wxDialog
00031 {
00032 public:
00033 // IDs
00034     enum {
00035         ID_PROBLEMCHOICE = 1
00036     };
00037 
00038 // LIFECYCLE
00039 
00042 //    ProblemDialog();
00043 
00056     ProblemDialog(wxWindow*         pParent,
00057                   wxWindowID        id,
00058                   ProblemBase*&     rpProblem,
00059                   bool              exitOnCancel);
00060 
00061 
00064     ~ProblemDialog(void);
00065 
00066 
00067 // OPERATORS
00068 
00069 // OPERATIONS
00070 
00071     // Create
00072 
00077     void OnProblemChoice(wxCommandEvent& event);
00078 
00081     void OnOk(wxCommandEvent& event);
00082 
00085     void OnExit(wxCommandEvent& event);
00086 
00089     void OnClose(wxCloseEvent& event);
00090 
00091 // ACCESS
00092 // INQUIRY
00093 
00094 protected:
00095 private:
00097     ProblemBase*&   mrpProblem;
00098 
00102     ProblemBase*    mpTempProblem;
00103 
00104     // Ważniejsze kontrolki:
00105     wxButton*       mpOkButton;
00106     wxButton*       mpCancelButton;
00107     wxStaticBox*    mpProblemStaticBox;
00108     ProblemChoice*  mpProblemChoice;
00109     wxPanel*        mpProblemPanel;
00110     wxSizer*        mpSizer;
00111 
00112     bool            mExitOnClose;
00113 
00114     DECLARE_EVENT_TABLE()
00115 };
00116 
00117 // INLINE METHODS
00118 //
00119 
00120 // EXTERNAL REFERENCES
00121 //
00122 
00123 #endif  // _ProblemDialog_h

Wygenerowano Fri Sep 29 21:04:49 2006 dla EduOptim2 programem  doxygen 1.4.6