serialserver/c32serialserver/Test/te_C32Performance/USB PC Side Code/SerialConnection.h
equal
deleted
inserted
replaced
|
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 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent. |
|
19 */ |
|
20 |
|
21 #if !defined(AFX_SERIALCONNECTION_H__4888156F_F2B4_11D4_8077_DC3329DB2D48__INCLUDED_) |
|
22 #define AFX_SERIALCONNECTION_H__4888156F_F2B4_11D4_8077_DC3329DB2D48__INCLUDED_ |
|
23 |
|
24 #if _MSC_VER > 1000 |
|
25 #pragma once |
|
26 #endif // _MSC_VER > 1000 |
|
27 |
|
28 #include <windows.h> |
|
29 |
|
30 class CSerialConnection |
|
31 { |
|
32 public: |
|
33 |
|
34 CSerialConnection(); |
|
35 ~CSerialConnection(); |
|
36 |
|
37 BOOL PortInitialize (CString strPort); |
|
38 |
|
39 protected: |
|
40 static UINT PortReadThread(LPVOID lpvoid); |
|
41 }; |
|
42 |
|
43 #endif // !defined(AFX_SERIALCONNECTION_H__4888156F_F2B4_11D4_8077_DC3329DB2D48__INCLUDED_) |
|
44 |