Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

101 lines
2.6 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: PhoneEditDlg.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of PhoneEditDlg.h
//----------------------------------------------------------------------------
#ifndef __PHONE__EDIT__DLG__H__INCLUDED__
#define __PHONE__EDIT__DLG__H__INCLUDED__
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "..\DLIB\PhoneCallCenter.h"
class CPhoneEditDlg : public CDialog
{
// Construction
public:
CPhoneEditDlg(CWnd* pParent = NULL);
virtual ~CPhoneEditDlg();
public:
INT DoModal( CSensorArray* pSensorArray, CPhoneCallCenter::PPHONE_COMMAND_EX& pPhoneCommand );
// Dialog Data
//{{AFX_DATA(CPhoneEditDlg)
enum { IDD = IDD_PHONE_EDIT_DLG };
CEdit m_EditMessageRepeat;
CSliderCtrl m_SliderWelcomeVolume;
CSliderCtrl m_SliderWelcomeRate;
CSliderCtrl m_SliderMessageVolume;
CSliderCtrl m_SliderMessageRate;
CComboBox m_ComboWelcomeVoice;
CComboBox m_ComboMessageVoice;
CEdit m_EditNumber;
CEdit m_EditMessageWave;
CEdit m_EditMessageText2Speech;
CEdit m_EditWelcomeText2Speech;
CEdit m_EditWelcomeWave;
CButton m_ButtonMessageTest;
CButton m_ButtonMessageFile;
CButton m_ButtonWelcomeTest;
CButton m_ButtonWelcomeFile;
CListBox m_ListSrc;
CListBox m_ListDst;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPhoneEditDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPhoneEditDlg)
virtual BOOL OnInitDialog();
afx_msg void OnRadioMessage();
afx_msg void OnRadioWelcome();
virtual void OnOK();
afx_msg void OnButtonAdd();
afx_msg void OnButtonAddAll();
afx_msg void OnButtonDelete();
afx_msg void OnButtonDeleteAll();
afx_msg void OnButtonMessageFile();
afx_msg void OnButtonWelcomeFile();
afx_msg void OnButtonMessageTest();
afx_msg void OnButtonWelcomeTest();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CPhoneCallCenter::PPHONE_COMMAND_EX m_pPhoneCommand;
CSensorArray *m_pSensorArray;
private:
static BOOL EnumVoiceProc( LPCTSTR, LPWSTR, void* );
BOOL EnumVoiceProc( LPCTSTR, LPWSTR );
private:
CLgWavePlayer m_WavePlayer;
CLgWaveFile m_WaveFile;
CLgSpeechPlayer m_SpeechPlayer;
};
//{{AFX_INSERT_LOCATION}}
#endif