TMDDateTimePicker.h

Go to the documentation of this file.
00001 
00008 #ifndef __TMDDateTimePicker_H__
00009 #define __TMDDateTimePicker_H__
00010 
00011 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && defined(PKIFRESOURCES_ALLOW_GCC_PRAGMA)
00012     #pragma interface "TMDDateTimePicker.cpp"
00013 #endif
00014 
00015 #include "PKIFdll.h"
00016 
00017 #ifndef WX_PRECOMP
00018     #include "wx/wx.h"
00019 #endif
00020 #include <wx/calctrl.h>
00021 #include <wx/spinbutt.h>
00022 #include <wx/spinctrl.h>
00023 
00024 #include "ResizableDialog.h"
00025 
00026 
00027 FD_SMART_PTR(CPKIFTime);
00028 
00029 
00030 // WDR: class declarations
00031 
00032 //----------------------------------------------------------------------------
00033 // TMDDateTimePicker
00034 //----------------------------------------------------------------------------
00041 class TMDDateTimePicker: public ResizableDialog
00042 {
00043 public:
00044     // constructors and destructors
00045     TMDDateTimePicker( wxWindow *parent, wxWindowID id, const wxString &title,
00046         const wxPoint& pos = wxDefaultPosition,
00047         const wxSize& size = wxDefaultSize,
00048         long style = wxDEFAULT_DIALOG_STYLE );
00049     
00050     // WDR: method declarations for TMDDateTimePicker
00051     virtual bool Validate();
00052     virtual bool TransferDataToWindow();
00053     virtual bool TransferDataFromWindow();
00054     virtual wxString GetDate(void);
00055     virtual void SetDate(CPKIFTimePtr& t);
00056     virtual void SetMorningOrNight(bool b);
00057     
00058     virtual CPKIFTimePtr GetDateAsPKIFTime();
00059 
00060 private:
00061     // WDR: member variable declarations for TMDDateTimePicker
00062     wxCalendarCtrl * m_cal;
00063     wxSpinCtrl * m_hoursCtrl;
00064     wxSpinCtrl * m_minutesCtrl;
00065     wxSpinCtrl * m_secondsCtrl;
00066     
00067 private:
00068     // WDR: handler declarations for TMDDateTimePicker
00069 
00070 private:
00071     DECLARE_EVENT_TABLE()
00072 };
00073 
00074 
00075 
00076 
00077 #endif

Generated on Mon Nov 15 11:15:57 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6