update wavesaudio backend, now supports Windows (ASIO) as well as OS X (CoreAudio)
[ardour.git] / libs / backends / wavesaudio / wavesapi / devicemanager / IncludeWindows.h
index 5dd8f0ed50dc2abd7fbc02b3788dd1fc3b92c2d5..313b38ea4621b8566e1240c3ed6c46a2fc0f5c87 100644 (file)
@@ -1,49 +1,31 @@
-/*
-    Copyright (C) 2013 Waves Audio Ltd.
+#ifndef __IncludeWindows_h__
+#define __IncludeWindows_h__
 
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
+#ifdef _WINDOWS
 
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
+/* Copy to include
+#include "IncludeWindows.h"
+*/
 
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#ifndef _WIN32_WINNT
+#define _WIN32_WINNT   0x0601   // Windows 7
+#endif
+
+#ifndef WINVER
+#define WINVER                 0x0601   // Windows 7
+#endif
+
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN
+#endif
+
+#ifndef NOMINMAX
+#define NOMINMAX // DO NOT REMOVE NOMINMAX - DOING SO CAUSES CONFLICTS WITH STD INCLUDES (<limits> ...)
+#endif
+
+#include <WinSock2.h>
+#include <Windows.h>
+#include <objbase.h>
+#endif // #if _WINDOWS 
+#endif // #ifndef __IncludeWindows_h__
 
-*/
-#ifndef __IncludeWindows_h__\r
-#define __IncludeWindows_h__\r
-\r
-#ifdef _WINDOWS\r
-\r
-/* Copy to include\r
-#include "IncludeWindows.h"\r
-*/\r
-\r
-#ifndef _WIN32_WINNT\r
-#define _WIN32_WINNT   0x0601   // Windows 7\r
-#endif\r
-\r
-#ifndef WINVER\r
-#define WINVER                 0x0601   // Windows 7\r
-#endif\r
-\r
-#ifndef WIN32_LEAN_AND_MEAN\r
-#define WIN32_LEAN_AND_MEAN\r
-#endif\r
-\r
-#ifndef NOMINMAX\r
-#define NOMINMAX // DO NOT REMOVE NOMINMAX - DOING SO CAUSES CONFLICTS WITH STD INCLUDES (<limits> ...)\r
-#endif\r
-\r
-#include <WinSock2.h>\r
-#include <Windows.h>\r
-#include <objbase.h>\r
-#endif // #if _WINDOWS \r
-#endif // #ifndef __IncludeWindows_h__\r
-\r