testtoolsconn/stat/desktop/testsource/dllcommstesters/teststatcomms/testcomdlg.h
changeset 0 3da2a79470a7
equal deleted inserted replaced
-1:000000000000 0:3da2a79470a7
       
     1 /*
       
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 // testcomDlg.h : header file
       
    22 //
       
    23 
       
    24 #if !defined(AFX_TESTCOMDLG_H__F5EDDB58_81F0_11D6_BC69_00B0D065107F__INCLUDED_)
       
    25 #define AFX_TESTCOMDLG_H__F5EDDB58_81F0_11D6_BC69_00B0D065107F__INCLUDED_
       
    26 
       
    27 #if _MSC_VER > 1000
       
    28 #pragma once
       
    29 #endif // _MSC_VER > 1000
       
    30 
       
    31 /////////////////////////////////////////////////////////////////////////////
       
    32 // CTestcomDlg dialog
       
    33 
       
    34 class CTestcomDlg : public CDialog
       
    35 {
       
    36 // Construction
       
    37 public:
       
    38 	CTestcomDlg(CWnd* pParent = NULL);	// standard constructor
       
    39 	~CTestcomDlg();
       
    40 	void AddString(char *szText);
       
    41 	int ReadTransferFile(const char *pFile, char **ppContents, unsigned long *pLength);
       
    42 	void ReleaseData(char **ppData);
       
    43 
       
    44 	HANDLE hThread2Out;
       
    45 
       
    46 // Dialog Data
       
    47 	//{{AFX_DATA(CTestcomDlg)
       
    48 	enum { IDD = IDD_TESTCOM_DIALOG };
       
    49 	CEdit	m_Port;
       
    50 	CComboBox	m_Transport;
       
    51 	CListBox	m_List1;
       
    52 	//}}AFX_DATA
       
    53 
       
    54 	// ClassWizard generated virtual function overrides
       
    55 	//{{AFX_VIRTUAL(CTestcomDlg)
       
    56 	protected:
       
    57 	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
       
    58 	//}}AFX_VIRTUAL
       
    59 
       
    60 // Implementation
       
    61 protected:
       
    62 	HICON m_hIcon;
       
    63 
       
    64 	// Generated message map functions
       
    65 	//{{AFX_MSG(CTestcomDlg)
       
    66 	virtual BOOL OnInitDialog();
       
    67 	afx_msg void OnPaint();
       
    68 	afx_msg HCURSOR OnQueryDragIcon();
       
    69 	afx_msg void OnTransfer();
       
    70 	//}}AFX_MSG
       
    71 	DECLARE_MESSAGE_MAP()
       
    72 };
       
    73 
       
    74 //{{AFX_INSERT_LOCATION}}
       
    75 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
       
    76 
       
    77 #endif // !defined(AFX_TESTCOMDLG_H__F5EDDB58_81F0_11D6_BC69_00B0D065107F__INCLUDED_)