1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
|
* 2011/03/29 wap Creation
****/
/*********************************************************************************************************************/
/* D I R E C T I V E */
/*********************************************************************************************************************/
#ifndef __MLOGIN_H
#define __MLOGIN_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/*********************************************************************************************************************/
/* I N C L U D E */
/*********************************************************************************************************************/
#include "..\inc\ttools.h"
#include "TDlg.h"
#ifdef USE_PHYSICAL_DEVICE
#include <ScanCApi.h>
#endif
/*********************************************************************************************************************/
/* C L A S S */
/*********************************************************************************************************************/
//=====================================================================================================================
//= Name : MLogin dialog
//=
//= Description:
//=
//= Remarks :
//=====================================================================================================================
class MLogin : public TDialog
{
private:
CString m_strOpeCod;
BOOL m_fRetry; // Mode retry en cas d'échec de récupération du fichier
struct STableau{
char Ligne[20],Login[20],Site1[4],Site2[4],Site3[4],Site4[4],
Auto1[3],Auto2[3],Auto3[3],Auto4[3],Auto5[3];
};
STableau montableau[20];
// Construction
public:
MLogin(CWnd* pParent = NULL); // standard constructor
CString GetLogin();
// Dialog Data
enum { IDD = IDD_LOGIN };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void ScanEvent(CString &strScan);
APIRET GetVersionInfo();
APIRET GetLoginsFile(CString &strCause);
BOOL ValidateFields();
BOOL CheckUser();
void SetRetryMode(BOOL fRetry);
// Implementation
protected:
// Generated message map functions
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnOK();
public:
};
//=====================================================================================================================
//= Name : DWait
//=
//= Description:
//=
//= Remarks :
//===================================================================================================================== |