From 7ad955791ae43a15eab3b89fa2c899d9ee98c148 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 12:52:29 +0000 Subject: Utilisateur : Fcolin Date : 25/10/01 Heure : 11:44 Créé (vss 1) --- Horloge/HorlogeDlg.h | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 Horloge/HorlogeDlg.h (limited to 'Horloge/HorlogeDlg.h') diff --git a/Horloge/HorlogeDlg.h b/Horloge/HorlogeDlg.h new file mode 100644 index 0000000..366f6a2 --- /dev/null +++ b/Horloge/HorlogeDlg.h @@ -0,0 +1,73 @@ +// HorlogeDlg.h : header file +// + +#if !defined(AFX_HORLOGEDLG_H__8AB6D6CD_4D9E_450D_B42C_E5A6F72FCA32__INCLUDED_) +#define AFX_HORLOGEDLG_H__8AB6D6CD_4D9E_450D_B42C_E5A6F72FCA32__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +#include "Ivy.h" +///////////////////////////////////////////////////////////////////////////// +// CHorlogeDlg dialog + +class CHorlogeDlg : public CDialog, public IvyApplicationCallback +{ +// Construction +public: + CHorlogeDlg(CWnd* pParent = NULL); // standard constructor + +// Dialog Data + //{{AFX_DATA(CHorlogeDlg) + enum { IDD = IDD_HORLOGE_DIALOG }; + CDateTimeCtrl m_setTime; + CListBox m_applist; + CDigistring m_Speed; + CDigistring m_Time; + CString m_busnumber; + BOOL m_big_speed; + //}}AFX_DATA + + // ClassWizard generated virtual function overrides + //{{AFX_VIRTUAL(CHorlogeDlg) + protected: + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + //}}AFX_VIRTUAL + +// Implementation +protected: + HICON m_hIcon; + Ivy *bus; + float rate; + SYSTEMTIME time; + void IvyClockEvent( IvyApplication *app, int argc, const char **argv ); + void IvyRejeuReady( IvyApplication *app, int argc, const char **argv ); + void OnApplicationConnected( IvyApplication *app ); + void OnApplicationDisconnected( IvyApplication *app ); + + // Generated message map functions + //{{AFX_MSG(CHorlogeDlg) + virtual BOOL OnInitDialog(); + afx_msg void OnPaint(); + afx_msg HCURSOR OnQueryDragIcon(); + afx_msg void OnIvystart(); + afx_msg void OnPause(); + afx_msg void OnStart(); + afx_msg void OnDatetimechangeSettime(NMHDR* pNMHDR, LRESULT* pResult); + afx_msg void OnBackward(); + afx_msg void OnForward(); + afx_msg void OnBack5(); + afx_msg void OnBack2(); + afx_msg void OnBack1(); + afx_msg void OnForw1(); + afx_msg void OnForw2(); + afx_msg void OnForw5(); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() +}; + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_HORLOGEDLG_H__8AB6D6CD_4D9E_450D_B42C_E5A6F72FCA32__INCLUDED_) -- cgit v1.1 From ee8e715afecefe1780f63004e3dac0e0810ea648 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 12:52:30 +0000 Subject: Utilisateur : Fcolin Date : 27/11/01 Heure : 15:26 Archivé dans $/Bus/Horloge (vss 2) --- Horloge/HorlogeDlg.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Horloge/HorlogeDlg.h') diff --git a/Horloge/HorlogeDlg.h b/Horloge/HorlogeDlg.h index 366f6a2..5550961 100644 --- a/Horloge/HorlogeDlg.h +++ b/Horloge/HorlogeDlg.h @@ -27,6 +27,7 @@ public: CDigistring m_Time; CString m_busnumber; BOOL m_big_speed; + CString m_filename; //}}AFX_DATA // ClassWizard generated virtual function overrides @@ -43,6 +44,7 @@ protected: SYSTEMTIME time; void IvyClockEvent( IvyApplication *app, int argc, const char **argv ); void IvyRejeuReady( IvyApplication *app, int argc, const char **argv ); + void IvyFileReadEvent( IvyApplication *app, int argc, const char **argv ); void OnApplicationConnected( IvyApplication *app ); void OnApplicationDisconnected( IvyApplication *app ); @@ -63,6 +65,9 @@ protected: afx_msg void OnForw1(); afx_msg void OnForw2(); afx_msg void OnForw5(); + afx_msg void OnFile(); + afx_msg void OnNormalSpeed(); + afx_msg void OnDblclkApplist(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; -- cgit v1.1 From 0c001528d09e59fe04ffd0f948503c4a03a51c51 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 12:52:32 +0000 Subject: Utilisateur : Fcolin Date : 19/12/05 Heure : 14:56 Archivé dans $/Bus/Horloge Commentaire: (vss 3) --- Horloge/HorlogeDlg.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Horloge/HorlogeDlg.h') diff --git a/Horloge/HorlogeDlg.h b/Horloge/HorlogeDlg.h index 5550961..93cb915 100644 --- a/Horloge/HorlogeDlg.h +++ b/Horloge/HorlogeDlg.h @@ -9,6 +9,7 @@ #endif // _MSC_VER > 1000 #include "Ivy.h" +#include "afxcmn.h" ///////////////////////////////////////////////////////////////////////////// // CHorlogeDlg dialog @@ -40,8 +41,9 @@ public: protected: HICON m_hIcon; Ivy *bus; - float rate; - SYSTEMTIME time; + double rate; + SYSTEMTIME start_time; + SYSTEMTIME current_time; void IvyClockEvent( IvyApplication *app, int argc, const char **argv ); void IvyRejeuReady( IvyApplication *app, int argc, const char **argv ); void IvyFileReadEvent( IvyApplication *app, int argc, const char **argv ); @@ -70,6 +72,8 @@ protected: afx_msg void OnDblclkApplist(); //}}AFX_MSG DECLARE_MESSAGE_MAP() +public: + CProgressCtrl file_progress; }; //{{AFX_INSERT_LOCATION}} -- cgit v1.1