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
6 #if !defined(AFX_STDAFX_H__F2230523_26E5_44C1_9257_A6FC51587248__INCLUDED_)
7 #define AFX_STDAFX_H__F2230523_26E5_44C1_9257_A6FC51587248__INCLUDED_
11 #endif // _MSC_VER > 1000
13 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
18 // TODO: reference additional headers your program requires here
21 #pragma warning (disable: 4786)
27 #include <boost/smart_ptr.hpp>
29 //---------------------------------------------------------------------------
30 #define countof(x) (sizeof(x) / sizeof(x[0]))
31 //#define RELEASE(x) if (x) (x)->Release ();
32 #define DELETE(x) { delete (x); x = NULL; }
34 typedef std::vector
<std::string
> StringVector
;
36 //---------------------------------------------------------------------------
37 void Info (const char* message
);
38 void Notice (const char* message
);
39 void Warning (const char* message
);
40 void Error (const char* message
);
42 #define warn_if(x) (x) ? Warning (#x), false : true;
43 #define warn_with_msg_if(x,y) (x) ? Warning (y), false : true;
46 #include "SSException.h"
50 //{{AFX_INSERT_LOCATION}}
51 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
53 #endif // !defined(AFX_STDAFX_H__F2230523_26E5_44C1_9257_A6FC51587248__INCLUDED_)