summaryrefslogtreecommitdiffabout
path: root/stdafx.h
Unidiff
Diffstat (limited to 'stdafx.h') (more/less context) (ignore whitespace changes)
-rw-r--r--stdafx.h70
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")