author | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
commit | 955d4e00adc9f39ab93bf21f07506eb75b013c70 (patch) (unidiff) | |
tree | 92493a2c9ac206b822e24a9e5a6f6b1589be6afb /stdafx.h | |
download | T42-955d4e00adc9f39ab93bf21f07506eb75b013c70.zip T42-955d4e00adc9f39ab93bf21f07506eb75b013c70.tar.gz T42-955d4e00adc9f39ab93bf21f07506eb75b013c70.tar.bz2 |
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/T42/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
-rw-r--r-- | stdafx.h | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/stdafx.h b/stdafx.h new file mode 100644 index 0000000..6c6a53e --- a/dev/null +++ b/stdafx.h | |||
@@ -0,0 +1,70 @@ | |||
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 | #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers | ||
7 | |||
8 | #include <afxwin.h> // MFC core and standard components | ||
9 | #include <afxext.h> // MFC extensions | ||
10 | #ifndef _AFX_NO_AFXCMN_SUPPORT | ||
11 | #include <afxcmn.h> // MFC support for Windows Common Controls | ||
12 | #endif // _AFX_NO_AFXCMN_SUPPORT | ||
13 | |||
14 | #include <afxrich.h> | ||
15 | #include <afxtempl.h> | ||
16 | |||
17 | #include <afxsock.h> // MFC socket extensions | ||
18 | |||
19 | #pragma warning(disable: 4786) | ||
20 | |||
21 | #include "shared-code/FindIFace.h" | ||
22 | #include "shared-code/kHelpers.h" | ||
23 | #include "shared-code/BTreendex.h" | ||
24 | #include "shared-code/BitSet.h" | ||
25 | |||
26 | #define REFS2PTS16 | ||
27 | |||
28 | struct osockaddr{ | ||
29 | u_short sa_family;// Address family | ||
30 | charsa_data[14];// Up to 14 bytes of direct address | ||
31 | |||
32 | osockaddr& operator=(sockaddr_in& src) { Copy(src); return *this; } | ||
33 | void Copy(sockaddr_in& src) { | ||
34 | sa_family = htons(src.sin_family); | ||
35 | memmove(sa_data,((sockaddr*)&src)->sa_data,sizeof(((sockaddr*)&src)->sa_data)); | ||
36 | } | ||
37 | }; | ||
38 | |||
39 | #include "talkd.h" | ||
40 | |||
41 | #include "T42CallLog.h" | ||
42 | |||
43 | enum{ | ||
44 | WM_INITIATETALK = WM_USER+16, | ||
45 | WM_TARGETRESOLVED, | ||
46 | WM_SOURCERESOLVED, | ||
47 | WM_LOOKUP_SUCCESS, WM_LOOKUP_FAILURE, | ||
48 | WM_ANNOUNCE_SUCCESS, WM_ANNOUNCE_FAILURE, | ||
49 | WM_LEAVEINVITE_SUCCESS, WM_LEAVEINVITE_FAILURE, | ||
50 | WM_LOCAL_REMOVE_SUCCESS, WM_LOCAL_REMOVE_FAILURE, | ||
51 | WM_REMOTE_REMOVE_SUCCESS, WM_REMOTE_REMOVE_FAILURE, | ||
52 | WM_TALKACCEPT, | ||
53 | WM_CTLTRANSACT, | ||
54 | WM_TALK, | ||
55 | WM_TALKCHAR, | ||
56 | WM_SPLITTERBDOWN, | ||
57 | WM_TALKCONNECT, | ||
58 | WM_NAMERESOLVED, WM_IPRESOLVED, | ||
59 | |||
60 | WM_TRAYICON, | ||
61 | WM_DAEMON, | ||
62 | WM_UPDATEPREVIEW, | ||
63 | |||
64 | timerTransact = 1, | ||
65 | timerTimeout, | ||
66 | timerMinutes | ||
67 | }; | ||
68 | #include <MMSystem.h> | ||
69 | // CG: The following line was added by the Windows Multimedia component. | ||
70 | #pragma comment(lib, "winmm.lib") | ||