* Path for renames during restore and renames during share (thanks to Bryan Aldrich...
[vss2svn.git] / ssphys / SSPhys / StdAfx.h
blob1157110782ade549eb42e082e65b9745cb5fe9a3
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 //
6 #if !defined(AFX_STDAFX_H__2A1522EC_5D1E_4342_944F_2A3917F67CA6__INCLUDED_)
7 #define AFX_STDAFX_H__2A1522EC_5D1E_4342_944F_2A3917F67CA6__INCLUDED_
9 #if _MSC_VER > 1000
10 #pragma once
11 #endif // _MSC_VER > 1000
13 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
15 #include <stdio.h>
17 // TODO: reference additional headers your program requires here
18 #include "assert.h"
20 #pragma warning (disable: 4786)
21 #include <iostream>
22 #include <map>
23 #include <vector>
24 #include <string>
26 #include <boost/smart_ptr.hpp>
28 //---------------------------------------------------------------------------
29 #define countof(x) (sizeof(x) / sizeof(x[0]))
30 //#define RELEASE(x) if (x) (x)->Release ();
31 //#define DELETE(x) { delete (x); x = NULL; }
33 typedef std::vector<std::string> StringVector;
36 #if !defined(_MSC_VER)
37 #define _snprintf snprintf
38 #endif
40 //---------------------------------------------------------------------------
41 void Info (const char* message);
42 void Notice (const char* message);
43 void Warning (const char* message);
44 void Error (const char* message);
46 #define warn_if(x) (x) ? Warning (#x), false : true;
47 #define warn_with_msg_if(x,y) (x) ? Warning (y), false : true;
50 #include <SSPhysLib/SSException.h>
52 #include "Options.h"
57 //{{AFX_INSERT_LOCATION}}
58 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
60 #endif // !defined(AFX_STDAFX_H__2A1522EC_5D1E_4342_944F_2A3917F67CA6__INCLUDED_)