00001 00014 #ifndef _cSoftwareWidget_h 00015 #define _cSoftwareWidget_h 00016 00017 00018 00019 #include "TypesDef.h" // Int, iENTRY_MAX_LENGTH 00020 00021 00022 //************************************* 00023 // Number assigned has to be in ORDER. 00024 //************************************* 00025 //const Int YEAR = 0 ; // Defined in TypesDef.h 00026 //const Int MONTH = 1 ; 00027 //const Int DAY = 2 ; 00028 const Int VERSION = 3 ; 00029 const Int S_LANGUAGE = 4 ; 00030 const Int COMPANY = 5 ; 00031 const Int URL = 6 ; 00032 const Int DESCRIPTION = 7 ; 00033 const Int NUM_OF_SOFTWARE_ENTRIES = 8; 00034 00035 class cSoftwareWidget: public wxPanel 00036 { 00037 public: 00039 cSoftwareWidget(wxWindow *Parent); 00040 00042 ~cSoftwareWidget(void); 00043 00044 00045 protected: 00046 wxTextCtrl *m_pSoftwareEntries[NUM_OF_SOFTWARE_ENTRIES]; 00047 00048 private: 00049 void Init(); 00050 void DrawAll(void); 00051 00052 }; 00053 00054 #endif // _cSoftwareWidget_h