Tipro API
Communicate with Tipro devices
StdAfx.h
1 // stdafx.h : include file for standard system include files,
2 // or project specific include files that are used frequently, but
3 // are changed infrequently
4 //
5 
6 #if !defined(AFX_STDAFX_H__2CD4D229_0E0B_4999_9A0F_55D8D724D65B__INCLUDED_)
7 #define AFX_STDAFX_H__2CD4D229_0E0B_4999_9A0F_55D8D724D65B__INCLUDED_
8 
9 #if _MSC_VER > 1000
10 #pragma once
11 #endif // _MSC_VER > 1000
12 
13 // define correct versions to work also under WINXP ref. Bug#68
14 #define WINVER _WIN32_WINNT_WINXP
15 #define _WIN32_WINNT _WIN32_WINNT_WINXP
16 #define NTDDI_VERSION NTDDI_WINXP
17 
18 // Insert your headers here
19 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
20 
21 //20190709 #include <windows.h>
22 
23 //20190710
24 //#define PVOID void *
25 //#define ULONG unsigned long
26 //#define USHORT unsigned short
27 //#define UCHAR unsigned char
28 
29 //20190827 win to linux
30 typedef void * PVOID;
31 typedef unsigned long ULONG;
32 typedef unsigned short USHORT;
33 typedef unsigned char UCHAR;
34 
35 
36 
37 // TODO: reference additional headers your program requires here
38 
39 //20190709 #include "TiproTelephonyHid.h"
40 //20190709 #include "Hid.h"
41 //20190709 #include "TiproHid.h"
42 #include "TiproHidApi_IntFn.h"
43 #include "ErrCodes.h"
44 #include "TiproBus.h"
45 #include "SpeakerBox.h"
46 #include "Handset.h"
47 #include "Chameleon.h"
48 #include "FwDefines.h"
49 #include "SpeakerBox_IntFn.h"
50 #include "BF20_IntFn.h"
51 #include "BF22_IntFn.h" //tomaz20171109
52 #include "BF07.h"
53 #include "BF07_IntFn.h"
54 #include "SpeakerBox104_IntFn.h"
55 //#include "HIDTelephonyThread.h"
56 #include <vector>
57 #include <functional>
58 
59 #include <sstream>
60 #include <string>
61 #include <iomanip>
62 
63 // fixes and scenarios are defined in _Info.h file
64 #include "TiproHidApi_Info.h"
65 
66 // HID usage tables
67 #include "HidUsageTables.h"
68 
69 
70 #include <stdio.h>
71 #include <malloc.h>
72 //20190709 #include <setupapi.h>
73 
74 #include "TiproHidDevice.h" //20190712
75 
76 
77 
78 extern "C"
79 {
80 //20190709 #include <hidsdi.h>
81 }
82 
83 
84 // options
85 
86 //#define _THREAD_SAFE_DESIGN
87 
88 //{{AFX_INSERT_LOCATION}}
89 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
90 
91 #endif // !defined(AFX_STDAFX_H__2CD4D229_0E0B_4999_9A0F_55D8D724D65B__INCLUDED_)
Represents Tipro device.