publish changes
This commit is contained in:
parent
afc5064a7b
commit
ac2c6ac843
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
class api_service;
|
class api_service;
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class NOVTABLE ifc_wa5component : public Dispatchable
|
class NOVTABLE ifc_wa5component : public Dispatchable
|
||||||
|
@ -215,24 +215,24 @@ xcopy /Y /D $(IntDir)$(TargetName).pdb ..\..\..\Build\Winamp_$(PlatformShortName
|
|||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<VcpkgUseStatic>true</VcpkgUseStatic>
|
<VcpkgUseStatic>true</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Vcpkg">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Vcpkg">
|
||||||
<VcpkgUseStatic>true</VcpkgUseStatic>
|
<VcpkgUseStatic>true</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgInstalledDir />
|
<VcpkgInstalledDir />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<VcpkgUseStatic>true</VcpkgUseStatic>
|
<VcpkgUseStatic>true</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Vcpkg">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Vcpkg">
|
||||||
<VcpkgUseStatic>true</VcpkgUseStatic>
|
<VcpkgUseStatic>true</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgInstalledDir />
|
<VcpkgInstalledDir />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg">
|
<PropertyGroup Label="Vcpkg">
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
|
||||||
//#include <windows.h> // for InterlockedIncrememt/Decrement
|
//#include <arch.h> // for InterlockedIncrememt/Decrement
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
|
||||||
/* DownloadCallbackT is reference counted for you. if you don't like that, inherit from ifc_downloadManagerCallback yourself */
|
/* DownloadCallbackT is reference counted for you. if you don't like that, inherit from ifc_downloadManagerCallback yourself */
|
||||||
|
@ -117,13 +117,13 @@ xcopy /Y /D $(IntDir)$(TargetName).pdb ..\..\..\Build\Winamp_$(PlatformShortName
|
|||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<VcpkgUseStatic>true</VcpkgUseStatic>
|
<VcpkgUseStatic>true</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<VcpkgUseStatic>true</VcpkgUseStatic>
|
<VcpkgUseStatic>true</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#endif
|
#endif
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <Ws2tcpip.h>
|
#include <Ws2tcpip.h>
|
||||||
#include <wspiapi.h>
|
#include <wspiapi.h>
|
||||||
|
@ -233,24 +233,24 @@ xcopy /Y /D $(IntDir)$(TargetName).pdb ..\..\..\Build\Winamp_$(PlatformShortName
|
|||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Vcpkg">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Vcpkg">
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgInstalledDir />
|
<VcpkgInstalledDir />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Vcpkg">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Vcpkg">
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgInstalledDir />
|
<VcpkgInstalledDir />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg">
|
<PropertyGroup Label="Vcpkg">
|
||||||
|
@ -98,16 +98,16 @@
|
|||||||
<TargetExt>.w5s</TargetExt>
|
<TargetExt>.w5s</TargetExt>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
|
@ -92,26 +92,26 @@
|
|||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
|
@ -93,26 +93,26 @@
|
|||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "FileTypeRegistrar.h"
|
#include "FileTypeRegistrar.h"
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <shlwapi.h>
|
#include <shlwapi.h>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#include <shobjidl.h>
|
#include <shobjidl.h>
|
||||||
|
@ -36,14 +36,14 @@ ServerAddress0 = 1, "http://aoldiag2.aol.com/spiral-bin/Collector.dll"
|
|||||||
NubCollectors = UIProcess, CommandLine, StackDump, ModuleList, MemoryStatus, ProcessList95, ProcessListNT, ExceptionType, Registers, PCMemory, PC, StackTrace, ThreadList95, ThreadListNT, ThreadRegisters, ThreadStackDump, ThreadIDList, ThreadIDTrigger, ThreadStackTrace, Trigger, TriggerTime
|
NubCollectors = UIProcess, CommandLine, StackDump, ModuleList, MemoryStatus, ProcessList95, ProcessListNT, ExceptionType, Registers, PCMemory, PC, StackTrace, ThreadList95, ThreadListNT, ThreadRegisters, ThreadStackDump, ThreadIDList, ThreadIDTrigger, ThreadStackTrace, Trigger, TriggerTime
|
||||||
UIProcess = 0xa000000f, "SWin32 UI Process"
|
UIProcess = 0xa000000f, "SWin32 UI Process"
|
||||||
CommandLine = 0xa000000d, "SWin32 Command Line"
|
CommandLine = 0xa000000d, "SWin32 Command Line"
|
||||||
StackDump = 0xa0000001, "SDump of Stack windows", 4096
|
StackDump = 0xa0000001, "SDump of Stack arch", 4096
|
||||||
ModuleList = 0xa0000003, "SLoaded Module list Win32"
|
ModuleList = 0xa0000003, "SLoaded Module list Win32"
|
||||||
MemoryStatus = 0xa000000b, "SWin32 MEMORYSTATUS struct"
|
MemoryStatus = 0xa000000b, "SWin32 MEMORYSTATUS struct"
|
||||||
ProcessList95 = 0xa0000009, "SWindows 95 process list"
|
ProcessList95 = 0xa0000009, "SWindows 95 process list"
|
||||||
ProcessListNT = 0xa0000007, "SWindows NT process list"
|
ProcessListNT = 0xa0000007, "SWindows NT process list"
|
||||||
ExceptionType = 0xa0000004, "SWin32 Processor exception type"
|
ExceptionType = 0xa0000004, "SWin32 Processor exception type"
|
||||||
Registers = 0xa0000000, "SWin32 x86 registers"
|
Registers = 0xa0000000, "SWin32 x86 registers"
|
||||||
PCMemory = 0xa000000a, "SCode memory windows", 32, 64
|
PCMemory = 0xa000000a, "SCode memory arch", 32, 64
|
||||||
PC = 0xa0000002, "SPC at time of crash"
|
PC = 0xa0000002, "SPC at time of crash"
|
||||||
StackTrace = 0xa0000005, "SWin32 stack trace"
|
StackTrace = 0xa0000005, "SWin32 stack trace"
|
||||||
ThreadList95 = 0xa0000008, "SWindows 95 thread list"
|
ThreadList95 = 0xa0000008, "SWindows 95 thread list"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef __C_WAVEIN_H__
|
#ifndef __C_WAVEIN_H__
|
||||||
#define __C_WAVEIN_H__
|
#define __C_WAVEIN_H__
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <mmsystem.h>
|
#include <mmsystem.h>
|
||||||
#define EXIT_ON_ERROR(hr) \
|
#define EXIT_ON_ERROR(hr) \
|
||||||
if (FAILED(hr)) { goto Exit; }
|
if (FAILED(hr)) { goto Exit; }
|
||||||
|
@ -24,7 +24,7 @@ BrandingText "${NAME} v${VERSION} Build ${BUILD}"
|
|||||||
InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp" "UninstallString"
|
InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp" "UninstallString"
|
||||||
|
|
||||||
; The file to write
|
; The file to write
|
||||||
OutFile "shoutcast-dsp-2-4-2-windows.exe"
|
OutFile "shoutcast-dsp-2-4-2-arch.exe"
|
||||||
|
|
||||||
; The default installation directory
|
; The default installation directory
|
||||||
InstallDir "$PROGRAMFILES32\Winamp"
|
InstallDir "$PROGRAMFILES32\Winamp"
|
||||||
|
@ -109,16 +109,16 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#define APP_VersionW L"2.4.2"
|
#define APP_VersionW L"2.4.2"
|
||||||
#define APP_Build "449"
|
#define APP_Build "449"
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <shlobj.h>
|
#include <shlobj.h>
|
||||||
@ -2277,7 +2277,7 @@ public:
|
|||||||
size--;
|
size--;
|
||||||
}
|
}
|
||||||
|
|
||||||
// e.g. dsp_sc,2.3.4.210,http://download.nullsoft.com/shoutcast/tools/shoutcast-dsp-2-3-4-windows.exe
|
// e.g. dsp_sc,2.3.4.210,http://download.nullsoft.com/shoutcast/tools/shoutcast-dsp-2-3-4-arch.exe
|
||||||
if ( p && *p )
|
if ( p && *p )
|
||||||
{
|
{
|
||||||
char *tok = strtok( p, "," );
|
char *tok = strtok( p, "," );
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include "c_encoder.h"
|
#include "c_encoder.h"
|
||||||
|
|
||||||
C_ENCODER::C_ENCODER(int ExtInfoSize) {
|
C_ENCODER::C_ENCODER(int ExtInfoSize) {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include "c_encoder.h"
|
#include "c_encoder.h"
|
||||||
#include "../lame/include/lame.h"
|
#include "../lame/include/lame.h"
|
||||||
#include "../lame/libmp3lame/lame_global_flags.h"
|
#include "../lame/libmp3lame/lame_global_flags.h"
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
// Defaults for this encoder
|
// Defaults for this encoder
|
||||||
#define MP3_DEFAULT_INPUTSAMPLERATE 44100
|
#define MP3_DEFAULT_INPUTSAMPLERATE 44100
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include "c_encoder.h"
|
#include "c_encoder.h"
|
||||||
#include "enc_if.h"
|
#include "enc_if.h"
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <Shlobj.h>
|
#include <Shlobj.h>
|
||||||
#include "../../Resource/resource.h"
|
#include "../../Resource/resource.h"
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include <winbase.h> // for mutex support
|
#include <winbase.h> // for mutex support
|
||||||
#define T_MUTEX HANDLE
|
#define T_MUTEX HANDLE
|
||||||
#else // _WIN32
|
#else // _WIN32
|
||||||
#error "This won't compile under anything other than windows since I haven't implemented mutexing on anything else"
|
#error "This won't compile under anything other than arch since I haven't implemented mutexing on anything else"
|
||||||
#endif // _WIN32
|
#endif // _WIN32
|
||||||
|
|
||||||
template<class T> class C_JOBMANAGER {
|
template<class T> class C_JOBMANAGER {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <Ws2tcpip.h>
|
#include <Ws2tcpip.h>
|
||||||
#include "../api.h"
|
#include "../api.h"
|
||||||
#include "Include/shoutcast_output.h"
|
#include "Include/shoutcast_output.h"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <uxtheme.h>
|
#include <uxtheme.h>
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "api.h"
|
#include "api.h"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
#include "../winamp/dsp.h"
|
#include "../winamp/dsp.h"
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
|
@ -90,17 +90,17 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
|
@ -52,8 +52,8 @@ BSC32=bscmake.exe
|
|||||||
# ADD BASE BSC32 /nologo
|
# ADD BASE BSC32 /nologo
|
||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 /nologo /subsystem:windows /dll /machine:I386
|
# ADD BASE LINK32 /nologo /subsystem:arch /dll /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib ole32.lib oleaut32.lib DMOGUIDS.LIB winmm.lib comdlg32.lib /nologo /entry:"DllEntryPoint@12" /subsystem:windows /dll /machine:I386 /nodefaultlib:"libcmt" /nodefaultlib:"libcmtd" /libpath:"../../dshow" /opt:nowin98
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib ole32.lib oleaut32.lib DMOGUIDS.LIB winmm.lib comdlg32.lib /nologo /entry:"DllEntryPoint@12" /subsystem:arch /dll /machine:I386 /nodefaultlib:"libcmt" /nodefaultlib:"libcmtd" /libpath:"../../dshow" /opt:nowin98
|
||||||
# SUBTRACT LINK32 /pdb:none
|
# SUBTRACT LINK32 /pdb:none
|
||||||
# Begin Custom Build - Custom Build Steps
|
# Begin Custom Build - Custom Build Steps
|
||||||
OutDir=.\Release
|
OutDir=.\Release
|
||||||
@ -90,8 +90,8 @@ BSC32=bscmake.exe
|
|||||||
# ADD BASE BSC32 /nologo
|
# ADD BASE BSC32 /nologo
|
||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 /nologo /subsystem:arch /dll /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib ole32.lib oleaut32.lib DMOGUIDS.LIB winmm.lib comdlg32.lib /nologo /entry:"DllEntryPoint@12" /subsystem:windows /dll /debug /machine:I386 /nodefaultlib:"libcmt" /nodefaultlib:"libcmtd" /pdbtype:sept /libpath:"../../dshow"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib ole32.lib oleaut32.lib DMOGUIDS.LIB winmm.lib comdlg32.lib /nologo /entry:"DllEntryPoint@12" /subsystem:arch /dll /debug /machine:I386 /nodefaultlib:"libcmt" /nodefaultlib:"libcmtd" /pdbtype:sept /libpath:"../../dshow"
|
||||||
# Begin Custom Build - Custom Build Steps
|
# Begin Custom Build - Custom Build Steps
|
||||||
OutDir=.\Debug
|
OutDir=.\Debug
|
||||||
TargetName=AudioPlugIn
|
TargetName=AudioPlugIn
|
||||||
|
@ -97,7 +97,7 @@ BSC32_FLAGS=/nologo /o"$(OUTDIR)\AudioPlugIn.bsc"
|
|||||||
BSC32_SBRS= \
|
BSC32_SBRS= \
|
||||||
|
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib advapi32.lib ole32.lib oleaut32.lib \build\sdks\dxmedia\lib\DMOGUIDS.LIB winmm.lib /nologo /entry:"DllEntryPoint@12" /subsystem:windows /dll /incremental:no /pdb:"$(OUTDIR)\AudioPlugIn.pdb" /machine:I386 /nodefaultlib:"libcmt" /nodefaultlib:"libcmtd" /def:".\AudioPlugIn.def" /out:"$(OUTDIR)\AudioPlugIn.dll" /implib:"$(OUTDIR)\AudioPlugIn.lib"
|
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib advapi32.lib ole32.lib oleaut32.lib \build\sdks\dxmedia\lib\DMOGUIDS.LIB winmm.lib /nologo /entry:"DllEntryPoint@12" /subsystem:arch /dll /incremental:no /pdb:"$(OUTDIR)\AudioPlugIn.pdb" /machine:I386 /nodefaultlib:"libcmt" /nodefaultlib:"libcmtd" /def:".\AudioPlugIn.def" /out:"$(OUTDIR)\AudioPlugIn.dll" /implib:"$(OUTDIR)\AudioPlugIn.lib"
|
||||||
DEF_FILE= \
|
DEF_FILE= \
|
||||||
".\AudioPlugIn.def"
|
".\AudioPlugIn.def"
|
||||||
LINK32_OBJS= \
|
LINK32_OBJS= \
|
||||||
@ -203,7 +203,7 @@ BSC32_FLAGS=/nologo /o"$(OUTDIR)\AudioPlugIn.bsc"
|
|||||||
BSC32_SBRS= \
|
BSC32_SBRS= \
|
||||||
|
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib advapi32.lib ole32.lib oleaut32.lib \build\sdks\dxmedia\lib\DMOGUIDS.LIB winmm.lib /nologo /entry:"DllEntryPoint@12" /subsystem:windows /dll /incremental:yes /pdb:"$(OUTDIR)\AudioPlugIn.pdb" /debug /machine:I386 /nodefaultlib:"libcmt" /nodefaultlib:"libcmtd" /def:".\AudioPlugIn.def" /out:"$(OUTDIR)\AudioPlugIn.dll" /implib:"$(OUTDIR)\AudioPlugIn.lib" /pdbtype:sept
|
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib advapi32.lib ole32.lib oleaut32.lib \build\sdks\dxmedia\lib\DMOGUIDS.LIB winmm.lib /nologo /entry:"DllEntryPoint@12" /subsystem:arch /dll /incremental:yes /pdb:"$(OUTDIR)\AudioPlugIn.pdb" /debug /machine:I386 /nodefaultlib:"libcmt" /nodefaultlib:"libcmtd" /def:".\AudioPlugIn.def" /out:"$(OUTDIR)\AudioPlugIn.dll" /implib:"$(OUTDIR)\AudioPlugIn.lib" /pdbtype:sept
|
||||||
DEF_FILE= \
|
DEF_FILE= \
|
||||||
".\AudioPlugIn.def"
|
".\AudioPlugIn.def"
|
||||||
LINK32_OBJS= \
|
LINK32_OBJS= \
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
// Generated from the TEXTINCLUDE 2 resource.
|
// Generated from the TEXTINCLUDE 2 resource.
|
||||||
//
|
//
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
#undef APSTUDIO_READONLY_SYMBOLS
|
#undef APSTUDIO_READONLY_SYMBOLS
|
||||||
@ -34,7 +34,7 @@ END
|
|||||||
|
|
||||||
2 TEXTINCLUDE DISCARDABLE
|
2 TEXTINCLUDE DISCARDABLE
|
||||||
BEGIN
|
BEGIN
|
||||||
"#include <windows.h>\r\n"
|
"#include <arch.h>\r\n"
|
||||||
"\0"
|
"\0"
|
||||||
END
|
END
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
|
|
||||||
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <windowsx.h>
|
#include <archx.h>
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
#define DEBUG // the DirectShow headers use this symbol
|
#define DEBUG // the DirectShow headers use this symbol
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#endif // __RPCNDR_H_VERSION__
|
#endif // __RPCNDR_H_VERSION__
|
||||||
|
|
||||||
#ifndef COM_NO_WINDOWS_H
|
#ifndef COM_NO_WINDOWS_H
|
||||||
#include "windows.h"
|
#include "arch.h"
|
||||||
#include "ole2.h"
|
#include "ole2.h"
|
||||||
#endif /*COM_NO_WINDOWS_H*/
|
#endif /*COM_NO_WINDOWS_H*/
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#include "..\..\..\winamp\dsp.h"
|
#include "..\..\..\winamp\dsp.h"
|
||||||
#include "sps_common.h"
|
#include "sps_common.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <strsafe.h>
|
#include <strsafe.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "mp4FastAAClib.h"
|
#include "mp4FastAAClib.h"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "mp4FastAAClib.h"
|
#include "mp4FastAAClib.h"
|
||||||
#include <windows.h> // or MAX_PATH
|
#include <arch.h> // or MAX_PATH
|
||||||
|
|
||||||
|
|
||||||
#define ENCODER_TYPE_MPEG4 (mmioFOURCC('A','A','C','f'))
|
#define ENCODER_TYPE_MPEG4 (mmioFOURCC('A','A','C','f'))
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include "link_control.h"
|
#include "link_control.h"
|
||||||
|
|
||||||
static HCURSOR link_hand_cursor;
|
static HCURSOR link_hand_cursor;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
void link_startsubclass(HWND hwndDlg, UINT id);
|
void link_startsubclass(HWND hwndDlg, UINT id);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#pragma message(__FILE__": telling linker to ignore libmmd.lib")
|
#pragma message(__FILE__": telling linker to ignore libmmd.lib")
|
||||||
|
|
||||||
#include "FhGAACEncoder.h"
|
#include "FhGAACEncoder.h"
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <mmsystem.h>
|
#include <mmsystem.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "../nsv/enc_if.h"
|
#include "../nsv/enc_if.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
extern HINSTANCE enc_fhg_HINST;
|
extern HINSTANCE enc_fhg_HINST;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "preferences.h"
|
#include "preferences.h"
|
||||||
#include "../Winamp/wa_ipc.h"
|
#include "../Winamp/wa_ipc.h"
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#include "link_control.h"
|
#include "link_control.h"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "preferences.h"
|
#include "preferences.h"
|
||||||
#include "../Winamp/wa_ipc.h"
|
#include "../Winamp/wa_ipc.h"
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#include "link_control.h"
|
#include "link_control.h"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <FLAC/all.h>
|
#include <FLAC/all.h>
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
struct Win32_State
|
struct Win32_State
|
||||||
{
|
{
|
||||||
|
@ -93,26 +93,26 @@
|
|||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include "AudioCoderFlac.h"
|
#include "AudioCoderFlac.h"
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <Uxtheme.h>
|
#include <Uxtheme.h>
|
||||||
#include <api/service/waservicefactory.h>
|
#include <api/service/waservicefactory.h>
|
||||||
#include <api/application/api_application.h>
|
#include <api/application/api_application.h>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <Windef.h>
|
#include <Windef.h>
|
||||||
#include "BladeMP3EncDLL.h"
|
#include "BladeMP3EncDLL.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef NULLSOFT_MP3_CODER_H
|
#ifndef NULLSOFT_MP3_CODER_H
|
||||||
#define NULLSOFT_MP3_CODER_H
|
#define NULLSOFT_MP3_CODER_H
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include "../nsv/enc_if.h"
|
#include "../nsv/enc_if.h"
|
||||||
#include "BladeMP3EncDLL.h"
|
#include "BladeMP3EncDLL.h"
|
||||||
#ifndef _BLADEDLL
|
#ifndef _BLADEDLL
|
||||||
|
@ -96,31 +96,31 @@
|
|||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\..\..\Wasabi;..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-windows-static\include\lame</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\..\..\Wasabi;..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-arch-static\include\lame</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>_WINDOWS;_USRDLL;_BLADEDLL;NSV_CODER_MP3_EXPORTS;WINDOWS_IGNORE_PACKING_MISMATCH;WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_WINDOWS;_USRDLL;_BLADEDLL;NSV_CODER_MP3_EXPORTS;WINDOWS_IGNORE_PACKING_MISMATCH;WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<MinimalRebuild>false</MinimalRebuild>
|
<MinimalRebuild>false</MinimalRebuild>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
@ -144,7 +144,7 @@
|
|||||||
<ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
|
<ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
|
||||||
<TargetMachine>MachineX86</TargetMachine>
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||||
<AdditionalLibraryDirectories>..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-windows-static\debug\lib\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-arch-static\debug\lib\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>xcopy /Y /D $(OutDir)$(TargetName)$(TargetExt) ..\..\..\..\Build\Winamp_$(PlatformShortName)_$(Configuration)\Plugins\
|
<Command>xcopy /Y /D $(OutDir)$(TargetName)$(TargetExt) ..\..\..\..\Build\Winamp_$(PlatformShortName)_$(Configuration)\Plugins\
|
||||||
@ -156,7 +156,7 @@ if exist ..\..\..\resources\libraries\lame_enc.dll xcopy /Y /D ..\..\..\resource
|
|||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\..\..\Wasabi;..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-windows-static\include\lame</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\..\..\Wasabi;..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-arch-static\include\lame</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;_BLADEDLL;NSV_CODER_MP3_EXPORTS;WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;_BLADEDLL;NSV_CODER_MP3_EXPORTS;WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<MinimalRebuild>false</MinimalRebuild>
|
<MinimalRebuild>false</MinimalRebuild>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
@ -171,14 +171,14 @@ if exist ..\..\..\resources\libraries\lame_enc.dll xcopy /Y /D ..\..\..\resource
|
|||||||
<Culture>0x0409</Culture>
|
<Culture>0x0409</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>shlwapi.lib;..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-windows-static\debug\lib\libmp3lame-static.lib</AdditionalDependencies>
|
<AdditionalDependencies>shlwapi.lib;..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-arch-static\debug\lib\libmp3lame-static.lib</AdditionalDependencies>
|
||||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<ProgramDatabaseFile>$(IntDir)$(TargetName).pdb</ProgramDatabaseFile>
|
<ProgramDatabaseFile>$(IntDir)$(TargetName).pdb</ProgramDatabaseFile>
|
||||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
<ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
|
<ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
|
||||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||||
<AdditionalLibraryDirectories>..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-windows-static\debug\lib\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-arch-static\debug\lib\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>xcopy /Y /D $(OutDir)$(TargetName)$(TargetExt) ..\..\..\..\Build\Winamp_$(PlatformShortName)_$(Configuration)\Plugins\
|
<Command>xcopy /Y /D $(OutDir)$(TargetName)$(TargetExt) ..\..\..\..\Build\Winamp_$(PlatformShortName)_$(Configuration)\Plugins\
|
||||||
@ -192,7 +192,7 @@ if exist ..\..\..\resources\libraries\lame_enc.dll xcopy /Y /D ..\..\..\resource
|
|||||||
<Optimization>MinSpace</Optimization>
|
<Optimization>MinSpace</Optimization>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
<AdditionalIncludeDirectories>..\..\..\Wasabi;..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-windows-static\include\lame</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\..\..\Wasabi;..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-arch-static\include\lame</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>_WINDOWS;_USRDLL;_BLADEDLL;NSV_CODER_MP3_EXPORTS;WINDOWS_IGNORE_PACKING_MISMATCH;NDEBUG;WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_WINDOWS;_USRDLL;_BLADEDLL;NSV_CODER_MP3_EXPORTS;WINDOWS_IGNORE_PACKING_MISMATCH;NDEBUG;WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
@ -218,7 +218,7 @@ if exist ..\..\..\resources\libraries\lame_enc.dll xcopy /Y /D ..\..\..\resource
|
|||||||
<ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
|
<ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
|
||||||
<TargetMachine>MachineX86</TargetMachine>
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||||
<AdditionalLibraryDirectories>..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-windows-static\lib\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-arch-static\lib\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>xcopy /Y /D $(OutDir)$(TargetName)$(TargetExt) ..\..\..\..\Build\Winamp_$(PlatformShortName)_$(Configuration)\Plugins\
|
<Command>xcopy /Y /D $(OutDir)$(TargetName)$(TargetExt) ..\..\..\..\Build\Winamp_$(PlatformShortName)_$(Configuration)\Plugins\
|
||||||
@ -231,7 +231,7 @@ if exist ..\..\..\resources\libraries\lame_enc.dll xcopy /Y /D ..\..\..\resource
|
|||||||
<Optimization>MinSpace</Optimization>
|
<Optimization>MinSpace</Optimization>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
<AdditionalIncludeDirectories>..\..\..\Wasabi;..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-windows-static\include\lame</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\..\..\Wasabi;..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-arch-static\include\lame</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;NSV_CODER_MP3_EXPORTS;WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;NSV_CODER_MP3_EXPORTS;WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
@ -246,7 +246,7 @@ if exist ..\..\..\resources\libraries\lame_enc.dll xcopy /Y /D ..\..\..\resource
|
|||||||
<Culture>0x0409</Culture>
|
<Culture>0x0409</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>shlwapi.lib;..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-windows-static\lib\libmp3lame-static.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>shlwapi.lib;..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-arch-static\lib\libmp3lame-static.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||||
<ProgramDatabaseFile>$(IntDir)$(TargetName).pdb</ProgramDatabaseFile>
|
<ProgramDatabaseFile>$(IntDir)$(TargetName).pdb</ProgramDatabaseFile>
|
||||||
@ -255,7 +255,7 @@ if exist ..\..\..\resources\libraries\lame_enc.dll xcopy /Y /D ..\..\..\resource
|
|||||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
<ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
|
<ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
|
||||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||||
<AdditionalLibraryDirectories>..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-windows-static\debug\lib\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>..\..\..\external_dependencies\vcpkg\$(PlatformShortName)-arch-static\debug\lib\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>xcopy /Y /D $(OutDir)$(TargetName)$(TargetExt) ..\..\..\..\Build\Winamp_$(PlatformShortName)_$(Configuration)\Plugins\
|
<Command>xcopy /Y /D $(OutDir)$(TargetName)$(TargetExt) ..\..\..\..\Build\Winamp_$(PlatformShortName)_$(Configuration)\Plugins\
|
||||||
|
@ -91,26 +91,26 @@
|
|||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#define ENC_VERSION "v1.58"
|
#define ENC_VERSION "v1.58"
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
#include <uxtheme.h>
|
#include <uxtheme.h>
|
||||||
#include <strsafe.h>
|
#include <strsafe.h>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef NULLSOFT_ENC_ACM_ACMENCODER_H
|
#ifndef NULLSOFT_ENC_ACM_ACMENCODER_H
|
||||||
#define NULLSOFT_ENC_ACM_ACMENCODER_H
|
#define NULLSOFT_ENC_ACM_ACMENCODER_H
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <mmreg.h>
|
#include <mmreg.h>
|
||||||
#include <msacm.h>
|
#include <msacm.h>
|
||||||
#include "../nsv/enc_if.h"
|
#include "../nsv/enc_if.h"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <mmreg.h>
|
#include <mmreg.h>
|
||||||
#include <msacm.h>
|
#include <msacm.h>
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef NULLSOFT_ENC_ACM_CONFIG_H
|
#ifndef NULLSOFT_ENC_ACM_CONFIG_H
|
||||||
#define NULLSOFT_ENC_ACM_CONFIG_H
|
#define NULLSOFT_ENC_ACM_CONFIG_H
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <mmreg.h>
|
#include <mmreg.h>
|
||||||
#include <msacm.h>
|
#include <msacm.h>
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define NULLSOFT_ENC_WAV_WAVENCODER_H
|
#define NULLSOFT_ENC_WAV_WAVENCODER_H
|
||||||
|
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <mmreg.h>
|
#include <mmreg.h>
|
||||||
#include <msacm.h>
|
#include <msacm.h>
|
||||||
#include "../nsv/enc_if.h"
|
#include "../nsv/enc_if.h"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <mmreg.h>
|
#include <mmreg.h>
|
||||||
#include <msacm.h>
|
#include <msacm.h>
|
||||||
#include "../nu/ns_wc.h"
|
#include "../nu/ns_wc.h"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
// LGIVEN Mods 4-10-05
|
// LGIVEN Mods 4-10-05
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#define ENC_VERSION "v1.23"
|
#define ENC_VERSION "v1.23"
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <wmsdk.h>
|
#include <wmsdk.h>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "../nsv/enc_if.h"
|
#include "../nsv/enc_if.h"
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include "rpc.h"
|
#include "rpc.h"
|
||||||
#include "rpcndr.h"
|
#include "rpcndr.h"
|
||||||
#ifndef COM_NO_WINDOWS_H
|
#ifndef COM_NO_WINDOWS_H
|
||||||
#include "windows.h"
|
#include "arch.h"
|
||||||
#include "ole2.h"
|
#include "ole2.h"
|
||||||
#endif /*COM_NO_WINDOWS_H*/
|
#endif /*COM_NO_WINDOWS_H*/
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#define _WIN32_WINDOWS 0x0500 // for IsDebuggerPresent
|
#define _WIN32_WINDOWS 0x0500 // for IsDebuggerPresent
|
||||||
|
|
||||||
#include "windows.h"
|
#include "arch.h"
|
||||||
#include <tchar.h>
|
#include <tchar.h>
|
||||||
#include "GetWinVer.h"
|
#include "GetWinVer.h"
|
||||||
#include "miniversion.h"
|
#include "miniversion.h"
|
||||||
|
@ -20,7 +20,7 @@ BOOL CreateLog(PEXCEPTION_POINTERS pExceptPtrs, LPCWSTR lpszMessage);
|
|||||||
BOOL CreateDump(PEXCEPTION_POINTERS pExceptPtrs);
|
BOOL CreateDump(PEXCEPTION_POINTERS pExceptPtrs);
|
||||||
|
|
||||||
// We forward declare PEXCEPTION_POINTERS so that the function
|
// We forward declare PEXCEPTION_POINTERS so that the function
|
||||||
// prototype doesn't needlessly require windows.h.
|
// prototype doesn't needlessly require arch.h.
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
// damage or loss of business that this software may cause.
|
// damage or loss of business that this software may cause.
|
||||||
//
|
//
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
#ifndef GETWINVER_H
|
#ifndef GETWINVER_H
|
||||||
#define GETWINVER_H
|
#define GETWINVER_H
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#ifndef MINIVERSION_H
|
#ifndef MINIVERSION_H
|
||||||
#define MINIVERSION_H
|
#define MINIVERSION_H
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <TCHAR.h>
|
#include <TCHAR.h>
|
||||||
|
|
||||||
class CMiniVersion
|
class CMiniVersion
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef NULLSOFT_CONFIG_H_
|
#ifndef NULLSOFT_CONFIG_H_
|
||||||
#define NULLSOFT_CONFIG_H_
|
#define NULLSOFT_CONFIG_H_
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -22,7 +22,7 @@ BOOL CALLBACK ConfigDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
|
|||||||
{
|
{
|
||||||
HWND hwCombo = GetDlgItem(hwndDlg, IDC_CMB_DMPTYPE);
|
HWND hwCombo = GetDlgItem(hwndDlg, IDC_CMB_DMPTYPE);
|
||||||
|
|
||||||
// detect windows version
|
// detect arch version
|
||||||
wchar_t strBuff[2048] = {0}, winVer[32] = {0}, build[32] = {0};
|
wchar_t strBuff[2048] = {0}, winVer[32] = {0}, build[32] = {0};
|
||||||
int nWinVer = 0;
|
int nWinVer = 0;
|
||||||
GetWinVer(winVer, &nWinVer, build);
|
GetWinVer(winVer, &nWinVer, build);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
int SelectComboBoxItem(const HWND hwCombo, int data);
|
int SelectComboBoxItem(const HWND hwCombo, int data);
|
||||||
BOOL OpenFolderDialog(HWND parent, LPWSTR pathBuffer);
|
BOOL OpenFolderDialog(HWND parent, LPWSTR pathBuffer);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
|
|
||||||
BOOL CALLBACK CrashDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
BOOL CALLBACK CrashDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
@ -17,7 +17,7 @@
|
|||||||
#define SENDEMAIL_H
|
#define SENDEMAIL_H
|
||||||
|
|
||||||
#include <tchar.h>
|
#include <tchar.h>
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
const wchar_t* GetFilePart(LPCWSTR lpszFile);
|
const wchar_t* GetFilePart(LPCWSTR lpszFile);
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
// Generated from the TEXTINCLUDE 2 resource.
|
// Generated from the TEXTINCLUDE 2 resource.
|
||||||
//
|
//
|
||||||
#define APSTUDIO_HIDDEN_SYMBOLS
|
#define APSTUDIO_HIDDEN_SYMBOLS
|
||||||
#include "windows.h"
|
#include "arch.h"
|
||||||
#undef APSTUDIO_HIDDEN_SYMBOLS
|
#undef APSTUDIO_HIDDEN_SYMBOLS
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
@ -65,7 +65,7 @@ END
|
|||||||
2 TEXTINCLUDE
|
2 TEXTINCLUDE
|
||||||
BEGIN
|
BEGIN
|
||||||
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
||||||
"#include ""windows.h""\r\n"
|
"#include ""arch.h""\r\n"
|
||||||
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
||||||
"\0"
|
"\0"
|
||||||
END
|
END
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef FEEDBACK_H
|
#ifndef FEEDBACK_H
|
||||||
#define FEEDBACK_H
|
#define FEEDBACK_H
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
|
|
||||||
#include "..\settings.h"
|
#include "..\settings.h"
|
||||||
|
@ -29,8 +29,8 @@
|
|||||||
</security>
|
</security>
|
||||||
</trustInfo>
|
</trustInfo>
|
||||||
<asmv3:application>
|
<asmv3:application>
|
||||||
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
|
<asmv3:archSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
|
||||||
<dpiAware>true</dpiAware>
|
<dpiAware>true</dpiAware>
|
||||||
</asmv3:windowsSettings>
|
</asmv3:archSettings>
|
||||||
</asmv3:application>
|
</asmv3:application>
|
||||||
</assembly>
|
</assembly>
|
@ -5,7 +5,7 @@
|
|||||||
#if !defined(AFX_CBase64_H__B2E45717_0625_11D2_A80A_00C04FB6794C__INCLUDED_)
|
#if !defined(AFX_CBase64_H__B2E45717_0625_11D2_A80A_00C04FB6794C__INCLUDED_)
|
||||||
#define AFX_CBase64_H__B2E45717_0625_11D2_A80A_00C04FB6794C__INCLUDED_
|
#define AFX_CBase64_H__B2E45717_0625_11D2_A80A_00C04FB6794C__INCLUDED_
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
#define lCONTEXT char
|
#define lCONTEXT char
|
||||||
#define PlCONTEXT lCONTEXT*
|
#define PlCONTEXT lCONTEXT*
|
||||||
|
@ -86,7 +86,7 @@
|
|||||||
//
|
//
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "xzip.h"
|
#include "xzip.h"
|
||||||
|
|
||||||
@ -2179,14 +2179,14 @@ ZRESULT GetFileInfo(HANDLE hf, ulg *attr, long *size, iztimes *times, ulg *times
|
|||||||
// unsigned integer comparison of absolute times. The attributes have two
|
// unsigned integer comparison of absolute times. The attributes have two
|
||||||
// high bytes unix attr, and two low bytes a mapping of that to DOS attr.
|
// high bytes unix attr, and two low bytes a mapping of that to DOS attr.
|
||||||
//struct stat s; int res=stat(fn,&s); if (res!=0) return false;
|
//struct stat s; int res=stat(fn,&s); if (res!=0) return false;
|
||||||
// translate windows file attributes into zip ones.
|
// translate arch file attributes into zip ones.
|
||||||
BY_HANDLE_FILE_INFORMATION bhi;
|
BY_HANDLE_FILE_INFORMATION bhi;
|
||||||
BOOL res=GetFileInformationByHandle(hf,&bhi);
|
BOOL res=GetFileInformationByHandle(hf,&bhi);
|
||||||
if (!res)
|
if (!res)
|
||||||
return ZR_NOFILE;
|
return ZR_NOFILE;
|
||||||
DWORD fa=bhi.dwFileAttributes;
|
DWORD fa=bhi.dwFileAttributes;
|
||||||
ulg a=0;
|
ulg a=0;
|
||||||
// Zip uses the lower word for its interpretation of windows stuff
|
// Zip uses the lower word for its interpretation of arch stuff
|
||||||
if (fa&FILE_ATTRIBUTE_READONLY) a|=0x01;
|
if (fa&FILE_ATTRIBUTE_READONLY) a|=0x01;
|
||||||
if (fa&FILE_ATTRIBUTE_HIDDEN) a|=0x02;
|
if (fa&FILE_ATTRIBUTE_HIDDEN) a|=0x02;
|
||||||
if (fa&FILE_ATTRIBUTE_SYSTEM) a|=0x04;
|
if (fa&FILE_ATTRIBUTE_SYSTEM) a|=0x04;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef NULLSOFT_CRASHER_MAIN_H
|
#ifndef NULLSOFT_CRASHER_MAIN_H
|
||||||
#define NULLSOFT_CRASHER_MAIN_H
|
#define NULLSOFT_CRASHER_MAIN_H
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <dbghelp.h>
|
#include <dbghelp.h>
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#define NO_IVIDEO_DECLARE
|
#define NO_IVIDEO_DECLARE
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
void CenterDialog(HWND hwndDlg);
|
void CenterDialog(HWND hwndDlg);
|
||||||
BOOL CALLBACK smtpDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
BOOL CALLBACK smtpDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
@ -181,7 +181,7 @@ COLORREF getWindowBackground(COLORREF *wb)
|
|||||||
windowbackground = b[_w*_y+_x];
|
windowbackground = b[_w*_y+_x];
|
||||||
WASABI_API_SKIN->imgldr_releaseSkinBitmap(b);
|
WASABI_API_SKIN->imgldr_releaseSkinBitmap(b);
|
||||||
} else {
|
} else {
|
||||||
// no idea... we'll just set the default windows color
|
// no idea... we'll just set the default arch color
|
||||||
windowbackground = GetSysColor(COLOR_WINDOWFRAME);
|
windowbackground = GetSysColor(COLOR_WINDOWFRAME);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -79,8 +79,8 @@ typedef struct {
|
|||||||
// -----------------------------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
#define IPC_FF_ONCOLORTHEMECHANGED IPC_FF_FIRST + 3 // data = name of the new color theme (const char *)
|
#define IPC_FF_ONCOLORTHEMECHANGED IPC_FF_FIRST + 3 // data = name of the new color theme (const char *)
|
||||||
#define IPC_FF_ISMAINWND IPC_FF_FIRST + 4 // data = hwnd, returns 1 if hwnd is main window or any of its windowshade
|
#define IPC_FF_ISMAINWND IPC_FF_FIRST + 4 // data = hwnd, returns 1 if hwnd is main window or any of its archhade
|
||||||
#define IPC_FF_GETCONTENTWND IPC_FF_FIRST + 5 // data = HWND, returns the wa2 window that is embedded in the window's container (ie if hwnd is the pledit windowshade hwnd, it returns the wa2 pledit hwnd). if no content is found (ie, the window has nothing embedded) it returns the parameter you gave it
|
#define IPC_FF_GETCONTENTWND IPC_FF_FIRST + 5 // data = HWND, returns the wa2 window that is embedded in the window's container (ie if hwnd is the pledit archhade hwnd, it returns the wa2 pledit hwnd). if no content is found (ie, the window has nothing embedded) it returns the parameter you gave it
|
||||||
#define IPC_FF_NOTIFYHOTKEY IPC_FF_FIRST + 6 // data = const char * to hotkey description
|
#define IPC_FF_NOTIFYHOTKEY IPC_FF_FIRST + 6 // data = const char * to hotkey description
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -74,7 +74,7 @@ BEGIN
|
|||||||
LTEXT "pixels",IDC_STATIC,225,106,19,8
|
LTEXT "pixels",IDC_STATIC,225,106,19,8
|
||||||
GROUPBOX "Miscellaneous",IDC_STATIC,4,131,256,86
|
GROUPBOX "Miscellaneous",IDC_STATIC,4,131,256,86
|
||||||
CONTROL "Enable tooltips",IDC_CHECK_TOOLTIPS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,144,65,10
|
CONTROL "Enable tooltips",IDC_CHECK_TOOLTIPS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,144,65,10
|
||||||
CONTROL "Dock windows at ",IDC_CHECK_DOCKING,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,156,67,11
|
CONTROL "Dock arch at ",IDC_CHECK_DOCKING,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,156,67,11
|
||||||
EDITTEXT IDC_EDIT_DOCKDISTANCE,79,155,30,12,ES_AUTOHSCROLL | ES_NUMBER
|
EDITTEXT IDC_EDIT_DOCKDISTANCE,79,155,30,12,ES_AUTOHSCROLL | ES_NUMBER
|
||||||
CONTROL "",IDC_SPIN_DOCKDISTANCE,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,97,154,10,14
|
CONTROL "",IDC_SPIN_DOCKDISTANCE,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,97,154,10,14
|
||||||
LTEXT "pixels",IDC_STATIC,111,157,18,8
|
LTEXT "pixels",IDC_STATIC,111,157,18,8
|
||||||
@ -182,7 +182,7 @@ STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD
|
|||||||
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||||
BEGIN
|
BEGIN
|
||||||
GROUPBOX "Scaling",IDC_STATIC,4,3,256,76
|
GROUPBOX "Scaling",IDC_STATIC,4,3,256,76
|
||||||
CONTROL "Link all windows in all skins:",IDC_CHECK_LINKALLRATIO,
|
CONTROL "Link all arch in all skins:",IDC_CHECK_LINKALLRATIO,
|
||||||
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,15,103,10
|
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,15,103,10
|
||||||
CTEXT "100%",IDC_STATIC_SCALE,159,10,51,8
|
CTEXT "100%",IDC_STATIC_SCALE,159,10,51,8
|
||||||
LTEXT "10%",IDC_STATIC_SCALE11,124,17,16,8
|
LTEXT "10%",IDC_STATIC_SCALE11,124,17,16,8
|
||||||
@ -193,7 +193,7 @@ BEGIN
|
|||||||
GROUPBOX "On Window Close/Reopen",IDC_STATIC,10,41,244,32
|
GROUPBOX "On Window Close/Reopen",IDC_STATIC,10,41,244,32
|
||||||
COMBOBOX IDC_COMBO_SCALE,16,54,232,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
COMBOBOX IDC_COMBO_SCALE,16,54,232,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||||||
GROUPBOX "Opacity",IDC_STATIC_OPACITY,4,81,256,138
|
GROUPBOX "Opacity",IDC_STATIC_OPACITY,4,81,256,138
|
||||||
CONTROL "Link all windows in all skins:",IDC_CHECK_LINKALLALPHA,
|
CONTROL "Link all arch in all skins:",IDC_CHECK_LINKALLALPHA,
|
||||||
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,92,102,10
|
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,92,102,10
|
||||||
COMBOBOX IDC_COMBO_OPACITY,11,106,98,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
COMBOBOX IDC_COMBO_OPACITY,11,106,98,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||||||
CONTROL "Slider1",IDC_SLIDER_CUSTOMALPHA,"msctls_trackbar32",TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,114,106,140,10
|
CONTROL "Slider1",IDC_SLIDER_CUSTOMALPHA,"msctls_trackbar32",TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,114,106,140,10
|
||||||
@ -520,7 +520,7 @@ BEGIN
|
|||||||
IDS_KHZ "kHz"
|
IDS_KHZ "kHz"
|
||||||
IDS_KBPS "kbps"
|
IDS_KBPS "kbps"
|
||||||
IDS_USELOCK "Reset window scale to global 'double size' except if it is locked"
|
IDS_USELOCK "Reset window scale to global 'double size' except if it is locked"
|
||||||
IDS_ALLLOCKED "All windows remember their scale, disregard global 'double size'"
|
IDS_ALLLOCKED "All arch remember their scale, disregard global 'double size'"
|
||||||
IDS_OPAQUE_FOCUS "Auto opaque on focus"
|
IDS_OPAQUE_FOCUS "Auto opaque on focus"
|
||||||
IDS_OPAQUE_HOVER "Auto opaque on hover"
|
IDS_OPAQUE_HOVER "Auto opaque on hover"
|
||||||
IDS_NO_OPACITY "No auto opacity"
|
IDS_NO_OPACITY "No auto opacity"
|
||||||
|
@ -93,19 +93,19 @@
|
|||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<VcpkgInstalledDir>
|
<VcpkgInstalledDir>
|
||||||
</VcpkgInstalledDir>
|
</VcpkgInstalledDir>
|
||||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "precomp__gen_ff.h"
|
#include "precomp__gen_ff.h"
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
#include "../nu/AutoWide.h"
|
#include "../nu/AutoWide.h"
|
||||||
#include <shlwapi.h>
|
#include <shlwapi.h>
|
||||||
#include <windowsx.h>
|
#include <archx.h>
|
||||||
//wtf?
|
//wtf?
|
||||||
#define _WAFE_H_
|
#define _WAFE_H_
|
||||||
#define ___HOTAMP3_H___
|
#define ___HOTAMP3_H___
|
||||||
@ -342,11 +342,11 @@ void autoOpacifyFocus();
|
|||||||
ifc_window *g_controlMenuTarget = NULL;
|
ifc_window *g_controlMenuTarget = NULL;
|
||||||
HMENU controlmenu = NULL;
|
HMENU controlmenu = NULL;
|
||||||
void lockScaling(int lock);
|
void lockScaling(int lock);
|
||||||
int ffwindowsitempos = -1;
|
int ffarchitempos = -1;
|
||||||
int ffoptionstop = -1;
|
int ffoptionstop = -1;
|
||||||
int ffwoptionstop = -1;
|
int ffwoptionstop = -1;
|
||||||
int ffwindowstop = -1;
|
int ffarchtop = -1;
|
||||||
int ffwindowsitempos2 = -1;
|
int ffarchitempos2 = -1;
|
||||||
int eqremoved = 0;
|
int eqremoved = 0;
|
||||||
void removeEq();
|
void removeEq();
|
||||||
void restoreEq();
|
void restoreEq();
|
||||||
@ -422,7 +422,7 @@ __declspec(dllexport) BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, L
|
|||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------
|
||||||
// core actions implement "play", "stop", etc. wndEmbedded embed wa2 windows into GUID-based wnds
|
// core actions implement "play", "stop", etc. wndEmbedded embed wa2 arch into GUID-based wnds
|
||||||
//-----------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------
|
||||||
BEGIN_SERVICES(Winamp2_Svcs);
|
BEGIN_SERVICES(Winamp2_Svcs);
|
||||||
DECLARE_SERVICETSINGLE(svc_action, CoreActions);
|
DECLARE_SERVICETSINGLE(svc_action, CoreActions);
|
||||||
@ -1454,7 +1454,7 @@ static LRESULT WINAPI wa_newWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPAR
|
|||||||
}
|
}
|
||||||
else if (wParam == 2)
|
else if (wParam == 2)
|
||||||
{
|
{
|
||||||
// embed the windows that are currently visible because at the time the window were originally shown,
|
// embed the arch that are currently visible because at the time the window were originally shown,
|
||||||
// we hadn't been loaded yet
|
// we hadn't been loaded yet
|
||||||
// but then again, we might if it's only a switch skin and not a app load, so let's check anyway
|
// but then again, we might if it's only a switch skin and not a app load, so let's check anyway
|
||||||
|
|
||||||
@ -1548,7 +1548,7 @@ static LRESULT WINAPI wa_newWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPAR
|
|||||||
wa2.setIdealVideoSize(HIWORD(wParam), LOWORD(wParam));
|
wa2.setIdealVideoSize(HIWORD(wParam), LOWORD(wParam));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// this is where we detect that wa2 wants to open one of its windows (thru popup menu, button, whatever)
|
// this is where we detect that wa2 wants to open one of its arch (thru popup menu, button, whatever)
|
||||||
// when this happens, we create a freeform wndembedder if one doesn't already exist. that embedder will
|
// when this happens, we create a freeform wndembedder if one doesn't already exist. that embedder will
|
||||||
// reparent and resize the wa2 window on its own. when we return, winamp then shows the HWND inside our frame
|
// reparent and resize the wa2 window on its own. when we return, winamp then shows the HWND inside our frame
|
||||||
// as it would show the HWND as a popup normally.
|
// as it would show the HWND as a popup normally.
|
||||||
@ -1616,7 +1616,7 @@ static LRESULT WINAPI wa_newWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPAR
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
// here we do the reverse, we detect that wa2 wants to close one of its windows, so we destroy our window
|
// here we do the reverse, we detect that wa2 wants to close one of its arch, so we destroy our window
|
||||||
// embedder (it will reparent the wa2 window back to its former parent and resize it back to where it was
|
// embedder (it will reparent the wa2 window back to its former parent and resize it back to where it was
|
||||||
// on its own). when we return, winamp then hides the window.
|
// on its own). when we return, winamp then hides the window.
|
||||||
|
|
||||||
@ -1733,7 +1733,7 @@ static LRESULT WINAPI wa_newWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPAR
|
|||||||
// sending us the WM_KEY* directly
|
// sending us the WM_KEY* directly
|
||||||
if (WASABI_API_WND->isKeyboardLocked()) return 0;
|
if (WASABI_API_WND->isKeyboardLocked()) return 0;
|
||||||
}
|
}
|
||||||
else if ((uMsg == WM_COMMAND || uMsg == WM_SYSCOMMAND) && LOWORD(wParam) >= 43000 && LOWORD(wParam) < ffwindowstop)
|
else if ((uMsg == WM_COMMAND || uMsg == WM_SYSCOMMAND) && LOWORD(wParam) >= 43000 && LOWORD(wParam) < ffarchtop)
|
||||||
{
|
{
|
||||||
int id = LOWORD(wParam) - 43000;
|
int id = LOWORD(wParam) - 43000;
|
||||||
|
|
||||||
@ -2132,7 +2132,7 @@ void init_inst()
|
|||||||
if ( DEFERREDCALLBACKMSG > 65536 )
|
if ( DEFERREDCALLBACKMSG > 65536 )
|
||||||
PostMessage( wa2.getMainWindow(), WM_WA_IPC, 2, DEFERREDCALLBACKMSG );
|
PostMessage( wa2.getMainWindow(), WM_WA_IPC, 2, DEFERREDCALLBACKMSG );
|
||||||
|
|
||||||
// so if some embedwindows are already visible, they update their look
|
// so if some embedarch are already visible, they update their look
|
||||||
PostMessage( wa2.getMainWindow(), WM_WA_IPC, 0xf00d, IPC_FF_ONCOLORTHEMECHANGED );
|
PostMessage( wa2.getMainWindow(), WM_WA_IPC, 0xf00d, IPC_FF_ONCOLORTHEMECHANGED );
|
||||||
|
|
||||||
// monitor color theme
|
// monitor color theme
|
||||||
@ -2698,7 +2698,7 @@ void restoreEq()
|
|||||||
//-----------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------
|
||||||
void unpopulateWindowsMenus()
|
void unpopulateWindowsMenus()
|
||||||
{
|
{
|
||||||
if (ffwindowsitempos == -1) return ;
|
if (ffarchitempos == -1) return ;
|
||||||
|
|
||||||
HMENU menuBarMenu = wa2.getMenuBarMenu(Winamp2FrontEnd::WA2_MAINMENUBAR_WINDOWS);
|
HMENU menuBarMenu = wa2.getMenuBarMenu(Winamp2FrontEnd::WA2_MAINMENUBAR_WINDOWS);
|
||||||
for(int i = GetMenuItemCount(menuBarMenu)-1; i >= 0; i--)
|
for(int i = GetMenuItemCount(menuBarMenu)-1; i >= 0; i--)
|
||||||
@ -2726,8 +2726,8 @@ void unpopulateWindowsMenus()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ffwindowsitempos = -1;
|
ffarchitempos = -1;
|
||||||
ffwindowsitempos2 = -1;
|
ffarchitempos2 = -1;
|
||||||
|
|
||||||
MenuActions::removeSkinWindowOptions();
|
MenuActions::removeSkinWindowOptions();
|
||||||
MenuActions::removeSkinOptions();
|
MenuActions::removeSkinOptions();
|
||||||
@ -2736,20 +2736,20 @@ void unpopulateWindowsMenus()
|
|||||||
//-----------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------
|
||||||
void populateWindowsMenus()
|
void populateWindowsMenus()
|
||||||
{
|
{
|
||||||
if (ffwindowsitempos != -1) unpopulateWindowsMenus();
|
if (ffarchitempos != -1) unpopulateWindowsMenus();
|
||||||
MenuActions::installSkinOptions();
|
MenuActions::installSkinOptions();
|
||||||
MenuActions::installSkinWindowOptions();
|
MenuActions::installSkinWindowOptions();
|
||||||
|
|
||||||
ffwindowsitempos = wa2.adjustFFWindowsMenu(0) + NUMSTATICWINDOWS;
|
ffarchitempos = wa2.adjustFFWindowsMenu(0) + NUMSTATICWINDOWS;
|
||||||
ffwindowsitempos2 = wa2.adjustOptionsPopupMenu(0) + 6 + NUMSTATICWINDOWS + 1;
|
ffarchitempos2 = wa2.adjustOptionsPopupMenu(0) + 6 + NUMSTATICWINDOWS + 1;
|
||||||
|
|
||||||
MENUITEMINFOW i = {sizeof(i), };
|
MENUITEMINFOW i = {sizeof(i), };
|
||||||
i.fMask = MIIM_TYPE | MIIM_DATA | MIIM_ID | MIIM_STATE;
|
i.fMask = MIIM_TYPE | MIIM_DATA | MIIM_ID | MIIM_STATE;
|
||||||
i.fType = MFT_STRING;
|
i.fType = MFT_STRING;
|
||||||
i.wID = 43000;
|
i.wID = 43000;
|
||||||
i.dwItemData = 0xD01; // use this as a check so we're only removing the correct items!!
|
i.dwItemData = 0xD01; // use this as a check so we're only removing the correct items!!
|
||||||
int pos = ffwindowsitempos;
|
int pos = ffarchitempos;
|
||||||
int pos2 = ffwindowsitempos2;
|
int pos2 = ffarchitempos2;
|
||||||
PtrListQuickSorted<StringW, StringWComparator> items;
|
PtrListQuickSorted<StringW, StringWComparator> items;
|
||||||
|
|
||||||
HMENU hMenu = wa2.getMenuBarMenu(Winamp2FrontEnd::WA2_MAINMENUBAR_WINDOWS);
|
HMENU hMenu = wa2.getMenuBarMenu(Winamp2FrontEnd::WA2_MAINMENUBAR_WINDOWS);
|
||||||
@ -2824,7 +2824,7 @@ void populateWindowsMenus()
|
|||||||
}
|
}
|
||||||
|
|
||||||
items.deleteAll();
|
items.deleteAll();
|
||||||
ffwindowstop = i.wID;
|
ffarchtop = i.wID;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------
|
||||||
@ -3465,7 +3465,7 @@ void updateParentlessOnTop()
|
|||||||
Layout *l = c->enumLayout(j);
|
Layout *l = c->enumLayout(j);
|
||||||
if (l != NULL)
|
if (l != NULL)
|
||||||
{
|
{
|
||||||
// skip windows owned by winamp
|
// skip arch owned by winamp
|
||||||
// skip appbars, they take care of themselves
|
// skip appbars, they take care of themselves
|
||||||
if (l->getNoParent() && !l->appbar_isDocked())
|
if (l->getNoParent() && !l->appbar_isDocked())
|
||||||
{
|
{
|
||||||
@ -3479,17 +3479,17 @@ void updateParentlessOnTop()
|
|||||||
|
|
||||||
void onGoFullscreen()
|
void onGoFullscreen()
|
||||||
{
|
{
|
||||||
// hidden windows will not receive APPBAR_CALLBACK, so forward it to winamp's main
|
// hidden arch will not receive APPBAR_CALLBACK, so forward it to winamp's main
|
||||||
SendMessageW(wa2.getMainWindow(), APPBAR_CALLBACK, ABN_FULLSCREENAPP, 1);
|
SendMessageW(wa2.getMainWindow(), APPBAR_CALLBACK, ABN_FULLSCREENAPP, 1);
|
||||||
// update ontop flag for windows that are not parented to winamp
|
// update ontop flag for arch that are not parented to winamp
|
||||||
updateParentlessOnTop();
|
updateParentlessOnTop();
|
||||||
}
|
}
|
||||||
|
|
||||||
void onCancelFullscreen()
|
void onCancelFullscreen()
|
||||||
{
|
{
|
||||||
// hidden windows will not receive APPBAR_CALLBACK, so forward it to winamp's main
|
// hidden arch will not receive APPBAR_CALLBACK, so forward it to winamp's main
|
||||||
SendMessageW(wa2.getMainWindow(), APPBAR_CALLBACK, ABN_FULLSCREENAPP, 0);
|
SendMessageW(wa2.getMainWindow(), APPBAR_CALLBACK, ABN_FULLSCREENAPP, 0);
|
||||||
// update ontop flag for windows that are not owned by winamp
|
// update ontop flag for arch that are not owned by winamp
|
||||||
updateParentlessOnTop();
|
updateParentlessOnTop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -639,19 +639,19 @@ void MenuActions::installSkinWindowOptions()
|
|||||||
mii.wID = 42000;
|
mii.wID = 42000;
|
||||||
mii.dwItemData = 0xD02; // use this as a check so we're only removing the correct items!!
|
mii.dwItemData = 0xD02; // use this as a check so we're only removing the correct items!!
|
||||||
|
|
||||||
if (menu && windowsmenuitems)
|
if (menu && archmenuitems)
|
||||||
{
|
{
|
||||||
int n = MIN(windowsmenuitems->getNumAttributes(), 500);
|
int n = MIN(archmenuitems->getNumAttributes(), 500);
|
||||||
int cmdoffset = 0;
|
int cmdoffset = 0;
|
||||||
for (int i = 0;i < n;i++)
|
for (int i = 0;i < n;i++)
|
||||||
{
|
{
|
||||||
const wchar_t *attr = windowsmenuitems->enumAttribute(i);
|
const wchar_t *attr = archmenuitems->enumAttribute(i);
|
||||||
|
|
||||||
if (attr && *attr)
|
if (attr && *attr)
|
||||||
{
|
{
|
||||||
HMENU submenu = NULL;
|
HMENU submenu = NULL;
|
||||||
wchar_t txt[256] = {0};
|
wchar_t txt[256] = {0};
|
||||||
windowsmenuitems->getData(attr, txt, 256);
|
archmenuitems->getData(attr, txt, 256);
|
||||||
GUID g = nsGUID::fromCharW(txt);
|
GUID g = nsGUID::fromCharW(txt);
|
||||||
if (g != INVALID_GUID)
|
if (g != INVALID_GUID)
|
||||||
{ // submenu !
|
{ // submenu !
|
||||||
@ -659,7 +659,7 @@ void MenuActions::installSkinWindowOptions()
|
|||||||
if (submenu)
|
if (submenu)
|
||||||
wmenulist.addItem(submenu);
|
wmenulist.addItem(submenu);
|
||||||
}
|
}
|
||||||
int v = windowsmenuitems->getDataAsInt(attr, 0);
|
int v = archmenuitems->getDataAsInt(attr, 0);
|
||||||
wa2.adjustFFWindowsMenu(1);
|
wa2.adjustFFWindowsMenu(1);
|
||||||
wa2.adjustOptionsPopupMenu(1);
|
wa2.adjustOptionsPopupMenu(1);
|
||||||
|
|
||||||
@ -698,7 +698,7 @@ void MenuActions::removeSkinWindowOptions()
|
|||||||
|
|
||||||
HMENU menu = wa2.getMenuBarMenu(Winamp2FrontEnd::WA2_MAINMENUBAR_WINDOWS);
|
HMENU menu = wa2.getMenuBarMenu(Winamp2FrontEnd::WA2_MAINMENUBAR_WINDOWS);
|
||||||
HMENU omenu = wa2.getPopupMenu();
|
HMENU omenu = wa2.getPopupMenu();
|
||||||
if (menu && windowsmenuitems)
|
if (menu && archmenuitems)
|
||||||
{
|
{
|
||||||
for(int i = GetMenuItemCount(menu)-1; i != 0; i--)
|
for(int i = GetMenuItemCount(menu)-1; i != 0; i--)
|
||||||
{
|
{
|
||||||
@ -758,7 +758,7 @@ int MenuActions::toggleWindowOption(int n, GUID guid, int *cmdoffset)
|
|||||||
if (!cmdoffset) cmdoffset = &_cmdoffset;
|
if (!cmdoffset) cmdoffset = &_cmdoffset;
|
||||||
CfgItem *item = NULL;
|
CfgItem *item = NULL;
|
||||||
if (guid == INVALID_GUID)
|
if (guid == INVALID_GUID)
|
||||||
item = windowsmenuitems;
|
item = archmenuitems;
|
||||||
else
|
else
|
||||||
item = WASABI_API_CONFIG->config_getCfgItemByGuid(guid);
|
item = WASABI_API_CONFIG->config_getCfgItemByGuid(guid);
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#include "../Agave/Language/api_language.h"
|
#include "../Agave/Language/api_language.h"
|
||||||
#include "gen.h"
|
#include "gen.h"
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
#include <windowsx.h>
|
#include <archx.h>
|
||||||
|
|
||||||
void turnonoff(HWND wnd, int *t, int n, int v) {
|
void turnonoff(HWND wnd, int *t, int n, int v) {
|
||||||
for (int i=0;i<n;i++) {
|
for (int i=0;i<n;i++) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "precomp__gen_ff.h"
|
#include "precomp__gen_ff.h"
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#include <windowsx.h>
|
#include <archx.h>
|
||||||
|
|
||||||
extern int m_are_we_loaded;
|
extern int m_are_we_loaded;
|
||||||
extern int toggle_from_wa2;
|
extern int toggle_from_wa2;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "precomp__gen_ff.h"
|
#include "precomp__gen_ff.h"
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <windowsx.h>
|
#include <archx.h>
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#include <api/font/font.h>
|
#include <api/font/font.h>
|
||||||
#include <bfc/parse/paramparser.h>
|
#include <bfc/parse/paramparser.h>
|
||||||
|
@ -121,7 +121,7 @@ void AvsCfg::onVisRandomChanged(BOOL set) {
|
|||||||
//---------------------------------------------------------
|
//---------------------------------------------------------
|
||||||
Options *options;
|
Options *options;
|
||||||
CustomOptionsMenuItems *optionsmenuitems;
|
CustomOptionsMenuItems *optionsmenuitems;
|
||||||
CustomWindowsMenuItems *windowsmenuitems;
|
CustomWindowsMenuItems *archmenuitems;
|
||||||
SkinTweaks *skintweaks;
|
SkinTweaks *skintweaks;
|
||||||
Crossfader *crossfader;
|
Crossfader *crossfader;
|
||||||
AvsCfg *avscfg;
|
AvsCfg *avscfg;
|
||||||
@ -134,8 +134,8 @@ Wa2CfgItems::Wa2CfgItems() {
|
|||||||
// set up custom options menu items
|
// set up custom options menu items
|
||||||
WASABI_API_CONFIG->config_registerCfgItem((optionsmenuitems = new CustomOptionsMenuItems()));
|
WASABI_API_CONFIG->config_registerCfgItem((optionsmenuitems = new CustomOptionsMenuItems()));
|
||||||
|
|
||||||
// set up custom windows menu items
|
// set up custom arch menu items
|
||||||
WASABI_API_CONFIG->config_registerCfgItem((windowsmenuitems = new CustomWindowsMenuItems()));
|
WASABI_API_CONFIG->config_registerCfgItem((archmenuitems = new CustomWindowsMenuItems()));
|
||||||
|
|
||||||
// set up skintweaks options menu items
|
// set up skintweaks options menu items
|
||||||
WASABI_API_CONFIG->config_registerCfgItem((skintweaks = new SkinTweaks()));
|
WASABI_API_CONFIG->config_registerCfgItem((skintweaks = new SkinTweaks()));
|
||||||
@ -150,7 +150,7 @@ Wa2CfgItems::Wa2CfgItems() {
|
|||||||
Wa2CfgItems::~Wa2CfgItems() {
|
Wa2CfgItems::~Wa2CfgItems() {
|
||||||
WASABI_API_CONFIG->config_deregisterCfgItem(options);
|
WASABI_API_CONFIG->config_deregisterCfgItem(options);
|
||||||
WASABI_API_CONFIG->config_deregisterCfgItem(optionsmenuitems);
|
WASABI_API_CONFIG->config_deregisterCfgItem(optionsmenuitems);
|
||||||
WASABI_API_CONFIG->config_deregisterCfgItem(windowsmenuitems);
|
WASABI_API_CONFIG->config_deregisterCfgItem(archmenuitems);
|
||||||
WASABI_API_CONFIG->config_deregisterCfgItem(skintweaks);
|
WASABI_API_CONFIG->config_deregisterCfgItem(skintweaks);
|
||||||
WASABI_API_CONFIG->config_deregisterCfgItem(crossfader);
|
WASABI_API_CONFIG->config_deregisterCfgItem(crossfader);
|
||||||
WASABI_API_CONFIG->config_deregisterCfgItem(avscfg);
|
WASABI_API_CONFIG->config_deregisterCfgItem(avscfg);
|
||||||
@ -158,8 +158,8 @@ Wa2CfgItems::~Wa2CfgItems() {
|
|||||||
options = NULL;
|
options = NULL;
|
||||||
delete optionsmenuitems;
|
delete optionsmenuitems;
|
||||||
optionsmenuitems = NULL;
|
optionsmenuitems = NULL;
|
||||||
delete windowsmenuitems;
|
delete archmenuitems;
|
||||||
windowsmenuitems = NULL;
|
archmenuitems = NULL;
|
||||||
delete skintweaks;
|
delete skintweaks;
|
||||||
skintweaks = NULL;
|
skintweaks = NULL;
|
||||||
delete crossfader;
|
delete crossfader;
|
||||||
|
@ -127,7 +127,7 @@ extern _int cfg_uioptions_extendautoopacity;
|
|||||||
extern _bool cfg_options_usefontmapper;
|
extern _bool cfg_options_usefontmapper;
|
||||||
|
|
||||||
extern CustomOptionsMenuItems *optionsmenuitems;
|
extern CustomOptionsMenuItems *optionsmenuitems;
|
||||||
extern CustomWindowsMenuItems *windowsmenuitems;
|
extern CustomWindowsMenuItems *archmenuitems;
|
||||||
extern SkinTweaks *skintweaks;
|
extern SkinTweaks *skintweaks;
|
||||||
extern int disable_set_wa2_repeat;
|
extern int disable_set_wa2_repeat;
|
||||||
extern StringW eqmenustring;
|
extern StringW eqmenustring;
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include "../gen_ml/ml.h"
|
#include "../gen_ml/ml.h"
|
||||||
#include "../winamp/wa_ipc.h"
|
#include "../winamp/wa_ipc.h"
|
||||||
#include "../winamp/ipc_pe.h"
|
#include "../winamp/ipc_pe.h"
|
||||||
|
@ -38,7 +38,7 @@ void WaOsWndHost::onBeforeReparent(int host)
|
|||||||
#else
|
#else
|
||||||
embedWindowState* ws = (embedWindowState*)GetWindowLong(getHWND(), GWL_USERDATA);
|
embedWindowState* ws = (embedWindowState*)GetWindowLong(getHWND(), GWL_USERDATA);
|
||||||
#endif
|
#endif
|
||||||
// 0x49474541 is related to keeping windows shown on litestep desktops
|
// 0x49474541 is related to keeping arch shown on litestep desktops
|
||||||
if (ws == NULL || (int)ws == 0x49474541)
|
if (ws == NULL || (int)ws == 0x49474541)
|
||||||
{
|
{
|
||||||
HWND w = getHWND();
|
HWND w = getHWND();
|
||||||
@ -68,7 +68,7 @@ void WaOsWndHost::onAfterReparent(int host)
|
|||||||
#else
|
#else
|
||||||
embedWindowState* ws = (embedWindowState*)GetWindowLong(getHWND(), GWL_USERDATA);
|
embedWindowState* ws = (embedWindowState*)GetWindowLong(getHWND(), GWL_USERDATA);
|
||||||
#endif
|
#endif
|
||||||
// 0x49474541 is related to keeping windows shown on litestep desktops
|
// 0x49474541 is related to keeping arch shown on litestep desktops
|
||||||
if (ws == NULL || (int)ws == 0x49474541)
|
if (ws == NULL || (int)ws == 0x49474541)
|
||||||
{
|
{
|
||||||
HWND w = getHWND();
|
HWND w = getHWND();
|
||||||
@ -432,11 +432,11 @@ int Wa2WndEmbed::destroyWindow(ifc_window *w)
|
|||||||
// if you load another skin (ie: NonStep), and you close the pledit, it immediately reappears with the wa2 look since oswndhost_unhost
|
// if you load another skin (ie: NonStep), and you close the pledit, it immediately reappears with the wa2 look since oswndhost_unhost
|
||||||
// reset the flags, region and parent to what they were before the window was embedded
|
// reset the flags, region and parent to what they were before the window was embedded
|
||||||
|
|
||||||
// i think that what we need is to save which windows were visible (and their location) before switching to freeform
|
// i think that what we need is to save which arch were visible (and their location) before switching to freeform
|
||||||
// and to restore them when we go back to wa2 mode. this will also be more consistant with the freeform behavior of
|
// and to restore them when we go back to wa2 mode. this will also be more consistant with the freeform behavior of
|
||||||
// remembering visible status and coordinates on a per skin basis (since otherwise freeform dockings get screwed)
|
// remembering visible status and coordinates on a per skin basis (since otherwise freeform dockings get screwed)
|
||||||
// it also makes sense when we consider that we are going to need to remove all windowshade modes from the embedded
|
// it also makes sense when we consider that we are going to need to remove all archhade modes from the embedded
|
||||||
// windows when going freeform.
|
// arch when going freeform.
|
||||||
|
|
||||||
// see new functions: rememberVisibleWindows() and restoreVisibleWindows()
|
// see new functions: rememberVisibleWindows() and restoreVisibleWindows()
|
||||||
|
|
||||||
@ -742,7 +742,7 @@ int Wa2WndEmbed::embedRememberProc(embedWindowState *p, embedEnumStruct *parms)
|
|||||||
extern int m_loading_at_startup;
|
extern int m_loading_at_startup;
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------
|
||||||
// todo: remember and restore windowshade modes
|
// todo: remember and restore archhade modes
|
||||||
void Wa2WndEmbed::rememberVisibleWindows()
|
void Wa2WndEmbed::rememberVisibleWindows()
|
||||||
{
|
{
|
||||||
wa2wndstatus.deleteAll();
|
wa2wndstatus.deleteAll();
|
||||||
@ -821,9 +821,9 @@ void Wa2WndEmbed::restoreVisibleWindows()
|
|||||||
SetWindowPos(ws->wnd, 0, 0, 0, mlwidth, mlheight, SWP_NOZORDER | SWP_NOACTIVATE | SWP_NOMOVE);
|
SetWindowPos(ws->wnd, 0, 0, 0, mlwidth, mlheight, SWP_NOZORDER | SWP_NOACTIVATE | SWP_NOMOVE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// FG> as of oct19, this function only restores state for windows that WERE visible
|
// FG> as of oct19, this function only restores state for arch that WERE visible
|
||||||
// because there is no reason to hide one, since this function is designed to bring
|
// because there is no reason to hide one, since this function is designed to bring
|
||||||
// back those windows that were here in one mode, but aren't so anymore in another
|
// back those arch that were here in one mode, but aren't so anymore in another
|
||||||
if (ws->visible)
|
if (ws->visible)
|
||||||
{
|
{
|
||||||
if (ws->wndcode != -1)
|
if (ws->wndcode != -1)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef __CONFIG_DIALOG_H__
|
#ifndef __CONFIG_DIALOG_H__
|
||||||
#define __CONFIG_DIALOG_H__
|
#define __CONFIG_DIALOG_H__
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
|
|
||||||
BOOL CALLBACK ConfigProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam);
|
BOOL CALLBACK ConfigProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef ____HOTKEY_CTL___H____
|
#ifndef ____HOTKEY_CTL___H____
|
||||||
#define ____HOTKEY_CTL___H____
|
#define ____HOTKEY_CTL___H____
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
#define HOTKEYF_WIN 0x10
|
#define HOTKEYF_WIN 0x10
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef ___HOTAMP3_H___
|
#ifndef ___HOTAMP3_H___
|
||||||
#define ___HOTAMP3_H___
|
#define ___HOTAMP3_H___
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
#include "winamp.h"
|
#include "winamp.h"
|
||||||
#include "wa_hotkeys.h"
|
#include "wa_hotkeys.h"
|
||||||
|
@ -158,8 +158,8 @@ BEGIN
|
|||||||
IDS_PLAYBACK__PLAY_PAUSE "Playback: Play/Pause"
|
IDS_PLAYBACK__PLAY_PAUSE "Playback: Play/Pause"
|
||||||
IDS_PLAYBACK__TOGGLE_REPEAT "Playback: Toggle repeat"
|
IDS_PLAYBACK__TOGGLE_REPEAT "Playback: Toggle repeat"
|
||||||
IDS_PLAYBACK__TOGGLE_SHUFFLE "Playback: Toggle shuffle"
|
IDS_PLAYBACK__TOGGLE_SHUFFLE "Playback: Toggle shuffle"
|
||||||
IDS_UI__TOGGLE_WINSHADE "UI: Toggle windowshade"
|
IDS_UI__TOGGLE_WINSHADE "UI: Toggle archhade"
|
||||||
IDS_UI__TOGGLE_PLAYLIST_WINSHADE "UI: Toggle playlist windowshade"
|
IDS_UI__TOGGLE_PLAYLIST_WINSHADE "UI: Toggle playlist archhade"
|
||||||
IDS_UI__TOGGLE_DOUBLESIZE "UI: Toggle doublesize"
|
IDS_UI__TOGGLE_DOUBLESIZE "UI: Toggle doublesize"
|
||||||
IDS_UI__TOGGLE_MAIN_WINDOW "UI: Toggle main window"
|
IDS_UI__TOGGLE_MAIN_WINDOW "UI: Toggle main window"
|
||||||
IDS_UI__TOGGLE_MINIBROWSER "UI: Toggle main minibrowser"
|
IDS_UI__TOGGLE_MINIBROWSER "UI: Toggle main minibrowser"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef NULLSOFT_ML_BANNER_HEADER
|
#ifndef NULLSOFT_ML_BANNER_HEADER
|
||||||
#define NULLSOFT_ML_BANNER_HEADER
|
#define NULLSOFT_ML_BANNER_HEADER
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
class MLBanner
|
class MLBanner
|
||||||
{
|
{
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
//******************************* Window
|
//******************************* Window
|
||||||
#define MLSO_WINDOW 0
|
#define MLSO_WINDOW 0
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef _COMBOSKIN_H
|
#ifndef _COMBOSKIN_H
|
||||||
#define _COMBOSKIN_H
|
#define _COMBOSKIN_H
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
//class ScrollWnd;
|
//class ScrollWnd;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include <strsafe.h>
|
#include <strsafe.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include "./fileview_internal.h"
|
#include "./fileview_internal.h"
|
||||||
#include "./resource.h"
|
#include "./resource.h"
|
||||||
#include "../nu/menushortcuts.h"
|
#include "../nu/menushortcuts.h"
|
||||||
#include <windowsx.h>
|
#include <archx.h>
|
||||||
#include <strsafe.h>
|
#include <strsafe.h>
|
||||||
|
|
||||||
#define COLUMN_WIDTH_MIN 16
|
#define COLUMN_WIDTH_MIN 16
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include "../winamp/gen.h"
|
#include "../winamp/gen.h"
|
||||||
#include "api__gen_ml.h"
|
#include "api__gen_ml.h"
|
||||||
#include "./ml_ipc_0313.h"
|
#include "./ml_ipc_0313.h"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include "./fileview_internal.h"
|
#include "./fileview_internal.h"
|
||||||
#include "./resource.h"
|
#include "./resource.h"
|
||||||
#include "../nu/menushortcuts.h"
|
#include "../nu/menushortcuts.h"
|
||||||
#include <windowsx.h>
|
#include <archx.h>
|
||||||
#include <strsafe.h>
|
#include <strsafe.h>
|
||||||
|
|
||||||
#define SUBMENU_VIEWMODE 0
|
#define SUBMENU_VIEWMODE 0
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include "./fileview_internal.h"
|
#include "./fileview_internal.h"
|
||||||
#include "./resource.h"
|
#include "./resource.h"
|
||||||
#include "../nu/menushortcuts.h"
|
#include "../nu/menushortcuts.h"
|
||||||
#include <windowsx.h>
|
#include <archx.h>
|
||||||
#include <strsafe.h>
|
#include <strsafe.h>
|
||||||
|
|
||||||
#define FVTOOLBAR_DATAW L"FVTOOLBAR"
|
#define FVTOOLBAR_DATAW L"FVTOOLBAR"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include "ml.h"
|
#include "ml.h"
|
||||||
#include "../nu/CGlobalAtom.h"
|
#include "../nu/CGlobalAtom.h"
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include "./skinnedlistbox.h"
|
#include "./skinnedlistbox.h"
|
||||||
#include "./colors.h"
|
#include "./colors.h"
|
||||||
|
|
||||||
#include <windowsx.h>
|
#include <archx.h>
|
||||||
#include <strsafe.h>
|
#include <strsafe.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <windows.h>
|
#include <arch.h>
|
||||||
#include "./ml_ipc_0313.h"
|
#include "./ml_ipc_0313.h"
|
||||||
#include "../nu/trace.h"
|
#include "../nu/trace.h"
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user