diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-25 09:31:37 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-25 09:31:37 +0000 |
commit | 7a8c390404fa11956c462790e8b7b98c75c0bafa (patch) | |
tree | 0c8e9ce7b14e9d9c49aa9aa29a79c1836f23082c /protocols/MRA/src/Sdk | |
parent | ab497ab8f0a7353a730c06c77c6dad4862f7bbb5 (diff) |
optimizing includes
git-svn-id: http://svn.miranda-ng.org/main/trunk@5822 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/Sdk')
-rw-r--r-- | protocols/MRA/src/Sdk/DebugFunctions.h | 2 | ||||
-rw-r--r-- | protocols/MRA/src/Sdk/FIFOMT.h | 13 | ||||
-rw-r--r-- | protocols/MRA/src/Sdk/InternetTime.h | 8 | ||||
-rw-r--r-- | protocols/MRA/src/Sdk/ListMT.h | 2 | ||||
-rw-r--r-- | protocols/MRA/src/Sdk/SystemHeaders.h | 65 |
5 files changed, 7 insertions, 83 deletions
diff --git a/protocols/MRA/src/Sdk/DebugFunctions.h b/protocols/MRA/src/Sdk/DebugFunctions.h index 6bd9df5b5a..dfc7ec3440 100644 --- a/protocols/MRA/src/Sdk/DebugFunctions.h +++ b/protocols/MRA/src/Sdk/DebugFunctions.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- */ + */
diff --git a/protocols/MRA/src/Sdk/FIFOMT.h b/protocols/MRA/src/Sdk/FIFOMT.h index acff96f500..7d4e41db6f 100644 --- a/protocols/MRA/src/Sdk/FIFOMT.h +++ b/protocols/MRA/src/Sdk/FIFOMT.h @@ -35,12 +35,8 @@ #endif // _MSC_VER > 1000
-#include <ListMT.h>
-#include <InterlockedFunctions.h>
-
-
-
-
+#include "Sdk/ListMT.h"
+#include "Sdk/InterlockedFunctions.h"
typedef LIST_MT FIFO_MT, *PFIFO_MT, *LPFIFO_MT;
typedef PCLIST_MT PCFIFO_MT, LPCFIFO_MT;
@@ -51,11 +47,6 @@ typedef PCLIST_MT_ITEM PCFIFO_MT_ITEM, LPCFIFO_MT_ITEM; typedef LIST_MT_ITERATOR FIFO_MT_ITERATOR, *PFIFO_MT_ITERATOR, *LPFIFO_MT_ITERATOR;
typedef PCLIST_MT_ITERATOR PCFIFO_MT_ITERATOR, LPCFIFO_MT_ITERATOR;
-
-
-
-
-
#define FifoMTInitialize(pcpmtFifoMT,dwSpinCount) ListMTInitialize(pcpmtFifoMT,dwSpinCount)
#define FifoMTDestroy(pcpmtFifoMT) ListMTDestroy(pcpmtFifoMT)
diff --git a/protocols/MRA/src/Sdk/InternetTime.h b/protocols/MRA/src/Sdk/InternetTime.h index c6abf16786..dae0ee0ce3 100644 --- a/protocols/MRA/src/Sdk/InternetTime.h +++ b/protocols/MRA/src/Sdk/InternetTime.h @@ -36,11 +36,9 @@ #endif // _MSC_VER > 1000
-#include <StrToNum.h>
-#include <MemoryFind.h>
-#include <MemoryFindByte.h>
-
-
+#include "Sdk/StrToNum.h"
+#include "Sdk/MemoryFind.h"
+#include "Sdk/MemoryFindByte.h"
typedef struct
{
diff --git a/protocols/MRA/src/Sdk/ListMT.h b/protocols/MRA/src/Sdk/ListMT.h index 38d9247488..d757a364e6 100644 --- a/protocols/MRA/src/Sdk/ListMT.h +++ b/protocols/MRA/src/Sdk/ListMT.h @@ -35,7 +35,7 @@ #endif // _MSC_VER > 1000
-#include <InterlockedFunctions.h>
+#include "Sdk/InterlockedFunctions.h"
#if defined(_MSC_VER)
#if _MSC_VER >= 800
diff --git a/protocols/MRA/src/Sdk/SystemHeaders.h b/protocols/MRA/src/Sdk/SystemHeaders.h deleted file mode 100644 index 6779342812..0000000000 --- a/protocols/MRA/src/Sdk/SystemHeaders.h +++ /dev/null @@ -1,65 +0,0 @@ -/*
- * Copyright (c) 2008 Rozhuk Ivan <rozhuk.im@gmail.com>
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- */ -
-
-
-#if !defined(AFX_SYSTEMHEADERS_H__F58D13FF_F6F2_476C_B8F0_7B9E9357CF48__INCLUDED_)
-#define AFX_SYSTEMHEADERS_H__F58D13FF_F6F2_476C_B8F0_7B9E9357CF48__INCLUDED_
-
-
-#if _MSC_VER > 1000
-#pragma once
-#endif // _MSC_VER > 1000
-
-
-
-
-#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
-#define WINVER 0x0502
-#define _WIN32_WINNT 0x0502
-#include <windows.h>
-#include <wincrypt.h>
-#include <shlwapi.h>
-#include <winsock2.h>
-#include <mswsock.h>
-#include <WS2tcpip.h>
-#include <PrSht.h>
-#include <Commdlg.h>
-//#include <strsafe.h>
-
-
-#pragma comment(lib,"Crypt32.lib")
-#pragma comment(lib,"shlwapi.lib")
-#pragma comment(lib,"ws2_32.lib")
-#pragma comment(lib,"mswsock.lib")
-// RunTmChk.lib Imagehlp.lib kernel32.lib Crypt32.lib shlwapi.lib ws2_32.lib mswsock.lib
-
-
-
-
-
-#endif // !defined(AFX_SYSTEMHEADERS_H__F58D13FF_F6F2_476C_B8F0_7B9E9357CF48__INCLUDED_)
|