SCV
4.2.1
Simple Components for Visual
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
stdafx.h
Go to the documentation of this file.
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
#ifndef __SCV_STDAFX_H__
7
#define __SCV_STDAFX_H__
8
9
#ifdef _WIN32
10
#ifdef _MSC_VER
11
#pragma warning(disable:4996)
12
#pragma warning(disable:4706)
13
#pragma warning(disable:4127)
14
#pragma warning(disable:4018)
15
#pragma warning(disable:4995)
16
#ifndef _CRT_SECURE_NO_WARNINGS
17
#define _CRT_SECURE_NO_WARNINGS
18
#endif // _CRT_SECURE_NO_WARNINGS
19
#endif // _MSC_VER
20
21
#ifndef WIN32_LEAN_AND_MEAN
22
#define WIN32_LEAN_AND_MEAN
23
#endif // WIN32_LEAN_AND_MEAN
24
25
#ifndef NOMINMAX
26
#define NOMINMAX
27
#endif // NOMINMAX
28
29
#include <windows.h>
30
#include <tchar.h>
31
//Não funciona por causa que é CodeBlocks
32
// #include <strsafe.h>
33
// #include <shobjidl.h>
34
#else // UNIX
35
#include <unistd.h>
36
#include <dirent.h>
37
#include <errno.h>
38
#endif // _WIN32
39
40
// A macro to disallow the copy constructor and operator= functions
41
// This should be used in the private: declarations for a class
42
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
43
TypeName(const TypeName&); \
44
TypeName& operator=(const TypeName&)
45
46
#ifndef _PI
47
#define _PI 3.141592653589793238462643f
48
#endif // _PI
49
#ifndef _PI2
50
#define _PI2 6.283185307179586476925286f
51
#endif // _PI2
52
#ifndef _SQRT2
53
#define _SQRT2 1.4142135623730950488016887f
54
#endif // _SQRT2
55
56
#include <GL/glew.h>
57
#include <GL/freeglut.h>
58
#include <GL/glext.h>
59
60
#include <algorithm>
61
#include <iostream>
62
#include <fstream>
63
#include <sstream>
64
#include <memory>
65
#include <string>
66
#include <vector>
67
#include <queue>
68
#include <cmath>
69
#include <list>
70
#include <map>
71
72
#include <cstdio>
73
#include <cassert>
74
#include <ctime>
75
76
#endif // __SCV_STDAFX_H__
77
include
SCV
stdafx.h
Generated on Fri Dec 14 2012 09:44:49 for SCV by
1.8.2