Optimize includes

This commit is contained in:
momo5502 2016-03-04 15:19:10 +01:00
parent 3b8e47fecc
commit 52d7504437
2 changed files with 4 additions and 12 deletions

View File

@ -13,7 +13,9 @@
#include <time.h> #include <time.h>
#include <timeapi.h> #include <timeapi.h>
#include <shellapi.h> #include <shellapi.h>
#include <shlwapi.h>
#include <WinSock2.h> #include <WinSock2.h>
#include <Wininet.h>
#include <d3d9.h> #include <d3d9.h>
#include <map> #include <map>
@ -94,6 +96,8 @@
#pragma comment(lib, "Crypt32.lib") #pragma comment(lib, "Crypt32.lib")
#pragma comment(lib, "Ws2_32.lib") #pragma comment(lib, "Ws2_32.lib")
#pragma comment(lib, "d3d9.lib") #pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "Wininet.lib")
#pragma comment(lib, "shlwapi.lib")
// Revision number // Revision number
#define STRINGIZE_(x) #x #define STRINGIZE_(x) #x

View File

@ -9,18 +9,6 @@
Small FTP and HTTP utility class using WinAPI Small FTP and HTTP utility class using WinAPI
*/ */
#pragma once
#include <Windows.h>
#include <Wininet.h>
#include <string>
#include <vector>
#include <map>
#include <shlwapi.h>
#pragma comment(lib, "Wininet.lib")
#pragma comment(lib, "shlwapi.lib")
#pragma comment(lib, "Ws2_32.lib")
namespace Utils namespace Utils
{ {
class WebIO class WebIO