serialserver/c32serialserver/Test/te_C32Performance/USB PC Side Code/SerialPortDlg.h
branchRCL_3
changeset 26 b564fb5fd78b
parent 0 dfb7c4ff071f
equal deleted inserted replaced
25:9d7ce34704c8 26:b564fb5fd78b
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // This class implements the CDialog class.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent.
       
    21 */
       
    22 
       
    23 #if !defined(AFX_SERIALPORTDLG_H__48881567_F2B4_11D4_8077_DC3329DB2D48__INCLUDED_)
       
    24 #define AFX_SERIALPORTDLG_H__48881567_F2B4_11D4_8077_DC3329DB2D48__INCLUDED_
       
    25 
       
    26 #if _MSC_VER > 1000
       
    27 #pragma once
       
    28 #endif // _MSC_VER > 1000
       
    29 #include "SerialConnection.h"
       
    30 //
       
    31 // CSerialPortDlg dialog
       
    32 
       
    33 class CSerialPortDlg : public CDialog
       
    34 {
       
    35 // Construction
       
    36 public:
       
    37 	CSerialPortDlg(CWnd* pParent = NULL);	// standard constructor
       
    38 	CSerialConnection serialconnect;
       
    39 // Dialog Data
       
    40 	//{{AFX_DATA(CSerialPortDlg)
       
    41 	enum { IDD = IDD_SERIALPORT_DIALOG };
       
    42 	CStatic	m_LabelText;
       
    43 	CString	m_StrComPortNo;
       
    44 	//}}AFX_DATA
       
    45 
       
    46 	// ClassWizard generated virtual function overrides
       
    47 	//{{AFX_VIRTUAL(CSerialPortDlg)
       
    48 	protected:
       
    49 	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
       
    50 	//}}AFX_VIRTUAL
       
    51 
       
    52 // Implementation
       
    53 protected:
       
    54 	HICON m_hIcon;
       
    55 
       
    56 	// Generated message map functions
       
    57 	//{{AFX_MSG(CSerialPortDlg)
       
    58 	virtual BOOL OnInitDialog();
       
    59 	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
       
    60 	afx_msg void OnPaint();
       
    61 	afx_msg HCURSOR OnQueryDragIcon();
       
    62 	virtual void OnOK();
       
    63 	virtual void OnCancel();
       
    64 	afx_msg void OnButton1();
       
    65 	//}}AFX_MSG
       
    66 	DECLARE_MESSAGE_MAP()
       
    67 };
       
    68 
       
    69 //{{AFX_INSERT_LOCATION}}
       
    70 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
       
    71 
       
    72 #endif // !defined(AFX_SERIALPORTDLG_H__48881567_F2B4_11D4_8077_DC3329DB2D48__INCLUDED_)
       
    73