added build env for VC++

This commit is contained in:
strawmanbobi
2016-12-14 21:37:56 +08:00
parent 6653c7ac8f
commit 684dedfa90
26 changed files with 349 additions and 96 deletions

View File

@@ -4,4 +4,9 @@ obj/
.idea/
cmake-build-debug/
cmake-build-release/
.DS_Store
Debug/
Release/
*.sdf
*.opensdf
.DS_Store
.vs

18
src/ir_decoder/dllmain.c Normal file
View File

@@ -0,0 +1,18 @@
#include "stdafx.h"
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}

View File

@@ -9,11 +9,6 @@ Revision log:
* 2016-10-12: created by strawmanbobi
**************************************************************************************************/
/*
*inclusion
*/
#include "irda_decode.h"
#ifndef _IRDA_APPLY_H_
#define _IRDA_APPLY_H_
@@ -22,19 +17,11 @@ extern "C"
{
#endif
/*
* public macros
*/
#include "irda_decode.h"
#define MIN_TAG_LENGTH_TYPE_1 4
#define MIN_TAG_LENGTH_TYPE_2 6
/*
* public type definition
*/
/*
* public function declaration
*/
extern INT8 apply_ac_power(struct ac_protocol *protocol, UINT8 power_status);
extern INT8 apply_ac_mode(struct ac_protocol *protocol, UINT8 mode_status);

View File

@@ -8,7 +8,6 @@ Description: This file provides generic utils for IR frame build
Revision log:
* 2016-10-01: created by strawmanbobi
**************************************************************************************************/
#include "irda_defs.h"
#ifndef _IRDA_IRFRAME_H_
#define _IRDA_IRFRAME_H_
@@ -18,6 +17,8 @@ extern "C"
{
#endif
#include "irda_defs.h"
extern UINT16 create_ir_frame();
#ifdef __cplusplus

View File

@@ -9,11 +9,6 @@ Revision log:
* 2016-10-05: created by strawmanbobi
**************************************************************************************************/
/*
*inclusion
*/
#include "irda_decode.h"
#ifndef _IRDA_PARSE_PARSE_H_
#define _IRDA_PARSE_PARSE_H_
@@ -22,21 +17,12 @@ extern "C"
{
#endif
/*
* public macros
*/
#include "irda_decode.h"
/*
* public type definition
*/
/*
* public function declaration
*/
extern INT8 parse_nmode(struct tag_head *tag, ac_n_mode index);
extern INT8 parse_nmode(struct tag_head *tag, ac_n_mode index);
#ifdef __cplusplus
}
}
#endif
#endif // _IRDA_PARSE_PARSE_H_

View File

@@ -9,11 +9,6 @@ Revision log:
* 2016-10-11: created by strawmanbobi
**************************************************************************************************/
/*
*inclusion
*/
#include "irda_decode.h"
#ifndef _IRDA_PARSE_FRAME_PARAMETER_H_
#define _IRDA_PARSE_FRAME_PARAMETER_H_
@@ -22,17 +17,8 @@ extern "C"
{
#endif
/*
* public macros
*/
#include "irda_decode.h"
/*
* public type definition
*/
/*
* public function declaration
*/
extern INT8 parse_bootcode(struct tag_head *tag);
extern INT8 parse_zero(struct tag_head *tag);

View File

@@ -9,11 +9,6 @@ Revision log:
* 2016-10-12: created by strawmanbobi
**************************************************************************************************/
/*
*inclusion
*/
#include "irda_decode.h"
#ifndef _IRDA_PARSE_AC_PARAMETER_H_
#define _IRDA_PARSE_AC_PARAMETER_H_
@@ -22,17 +17,7 @@ extern "C"
{
#endif
/*
* public macros
*/
/*
* public type definition
*/
/*
* public function declaration
*/
#include "irda_decode.h"
extern INT8 parse_common_ac_parameter(t_tag_head *tag, tag_comp *comp_data, UINT8 with_end, UINT8 type);

View File

@@ -8,9 +8,15 @@ Description: This file provides algorithms for IR decode
Revision log:
* 2016-10-01: created by strawmanbobi
**************************************************************************************************/
#ifndef _IRDA_DECODE_H_
#define _IRDA_DECODE_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdio.h>
#include "irda_defs.h"
@@ -573,4 +579,8 @@ INT8 get_supported_wind_direction(UINT8* supported_wind_direction);
///////////////////////////////////////////////// Utils End /////////////////////////////////////////////////
#ifdef __cplusplus
}
#endif
#endif // _IRDA_DECODE_H_

View File

@@ -9,18 +9,19 @@ Revision log:
* 2016-10-01: created by strawmanbobi
**************************************************************************************************/
#if defined BOARD_ANDROID
#include <android/log.h>
#define LOG_TAG "irda_decode"
#endif
#ifndef PARSE_IR_DEFS_H
#define PARSE_IR_DEFS_H
#ifdef __cplusplus
extern "C"
{
#endif
#if defined BOARD_ANDROID
#include <android/log.h>
#define LOG_TAG "irda_decode"
#endif
#define TRUE 1
#define FALSE 0
@@ -28,7 +29,7 @@ typedef unsigned char UINT8;
typedef signed char INT8;
typedef unsigned short UINT16;
typedef signed short INT16;
typedef unsigned char BOOL;
typedef int BOOL;
#define irda_malloc(A) malloc(A)
#define irda_free(A) free(A)

View File

@@ -11,6 +11,7 @@ Revision log:
#ifndef IRDA_DECODER_IRDA_MAIN_H
#define IRDA_DECODER_IRDA_MAIN_H
#ifdef __cplusplus
extern "C"
{
@@ -18,22 +19,8 @@ extern "C"
extern struct ir_bin_buffer *pirda_buffer;
/*
* function irda_ac_file_open
*
* parameters: file_name (in) specified bin file path
*
* return: IR_DECODE_SUCCEEDED / IR_DECODE_FAILED
*/
extern INT8 irda_ac_file_open(const char *file_name);
/*
* function irda_tv_lib_open
*
* parameters: file_name (in, for PC and MT6580) specified bin file path
*
* return: IR_DECODE_SUCCEEDED / IR_DECODE_FAILED
*/
extern INT8 irda_tv_file_open(const char *file_name);
#ifdef __cplusplus

View File

@@ -11,20 +11,14 @@ Revision log:
#ifndef _IRDA_LIB_H_
#define _IRDA_LIB_H_
#ifdef __cplusplus
extern "C"
{
#endif
/*
* inclusions
*/
#include "irda_defs.h"
/*
* macros and constants
*/
#define STB_CHANNEL_OFFSET 14
#define IRDA_FLAG_NORMAL 0

View File

@@ -8,8 +8,6 @@ Description: This file provides generic utils for IRDA algorithms
Revision log:
* 2016-10-01: created by strawmanbobi
**************************************************************************************************/
#include "irda_defs.h"
#include "irda_decode.h"
#ifndef _IRDA_UTILS_H_
#define _IRDA_UTILS_H_
@@ -19,6 +17,9 @@ extern "C"
{
#endif
#include "irda_defs.h"
#include "irda_decode.h"
#include <stdio.h>
extern void string_to_hex(UINT8 *p, ac_hex *pac_hex, UINT16 len);

View File

@@ -0,0 +1,28 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ir_decoder", "ir_decoder.vcxproj", "{8ACC347D-023C-4939-B371-C193EEA210F8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8ACC347D-023C-4939-B371-C193EEA210F8}.Debug|x64.ActiveCfg = Debug|x64
{8ACC347D-023C-4939-B371-C193EEA210F8}.Debug|x64.Build.0 = Debug|x64
{8ACC347D-023C-4939-B371-C193EEA210F8}.Debug|x86.ActiveCfg = Debug|Win32
{8ACC347D-023C-4939-B371-C193EEA210F8}.Debug|x86.Build.0 = Debug|Win32
{8ACC347D-023C-4939-B371-C193EEA210F8}.Release|x64.ActiveCfg = Release|x64
{8ACC347D-023C-4939-B371-C193EEA210F8}.Release|x64.Build.0 = Release|x64
{8ACC347D-023C-4939-B371-C193EEA210F8}.Release|x86.ActiveCfg = Release|Win32
{8ACC347D-023C-4939-B371-C193EEA210F8}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,195 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{8ACC347D-023C-4939-B371-C193EEA210F8}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>ir_decoder</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;IR_DECODER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;IR_DECODER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>Use</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;IR_DECODER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>Use</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;IR_DECODER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<Text Include="ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="include\irda_ac_apply.h" />
<ClInclude Include="include\irda_ac_build_frame.h" />
<ClInclude Include="include\irda_ac_parse_forbidden_info.h" />
<ClInclude Include="include\irda_ac_parse_frame_parameter.h" />
<ClInclude Include="include\irda_ac_parse_parameter.h" />
<ClInclude Include="include\irda_decode.h" />
<ClInclude Include="include\irda_defs.h" />
<ClInclude Include="include\irda_main.h" />
<ClInclude Include="include\irda_tv_parse_protocol.h" />
<ClInclude Include="include\irda_utils.h" />
<ClInclude Include="stdafx.h" />
<ClInclude Include="targetver.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="dllmain.c">
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
</PrecompiledHeader>
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</CompileAsManaged>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
</PrecompiledHeader>
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
</PrecompiledHeader>
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</CompileAsManaged>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
</PrecompiledHeader>
</ClCompile>
<ClCompile Include="irda_ac_apply.c" />
<ClCompile Include="irda_ac_build_frame.c" />
<ClCompile Include="irda_ac_parse_forbidden_info.c" />
<ClCompile Include="irda_ac_parse_frame_parameter.c" />
<ClCompile Include="irda_ac_parse_parameter.c" />
<ClCompile Include="irda_decode.c" />
<ClCompile Include="irda_main.c" />
<ClCompile Include="irda_tv_parse_protocol.c" />
<ClCompile Include="irda_utils.c" />
<ClCompile Include="stdafx.c">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
</ClCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -8,10 +8,15 @@ Description: This file provides methods for AC IR applying functionalities
Revision log:
* 2016-10-12: created by strawmanbobi
**************************************************************************************************/
/*
*inclusion
*/
#if defined WIN32
#include "stdafx.h"
#endif
#include "include/irda_utils.h"
#include "include/irda_ac_apply.h"

View File

@@ -8,6 +8,11 @@ Description: This file provides algorithms for IR frame build
Revision log:
* 2016-10-01: created by strawmanbobi
**************************************************************************************************/
#if defined WIN32
#include "stdafx.h"
#endif
#include <stdio.h>
#include "include/irda_ac_build_frame.h"

View File

@@ -12,6 +12,11 @@ Revision log:
/*
*inclusion
*/
#if defined WIN32
#include "stdafx.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@@ -12,6 +12,11 @@ Revision log:
/*
*inclusion
*/
#if defined WIN32
#include "stdafx.h"
#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

View File

@@ -8,9 +8,15 @@ Description: This file provides algorithms for IR decode for AC functionality
Revision log:
* 2016-10-12: created by strawmanbobi
**************************************************************************************************/
/*
*inclusion
*/
#if defined WIN32
#include "stdafx.h"
#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

View File

@@ -8,6 +8,11 @@ Description: This file provides algorithms for IR decode (status type)
Revision log:
* 2016-10-01: created by strawmanbobi
**************************************************************************************************/
#if defined WIN32
#include "stdafx.h"
#endif
#include <stdio.h>
#include <stdlib.h>
@@ -905,7 +910,7 @@ INT8 apply_temperature(remote_ac_status_t ac_status, UINT8 function_code)
}
UINT16 irda_ac_lib_control(remote_ac_status_t ac_status, UINT16 *user_data, UINT8 function_code,
UINT8 change_wind_direction)
BOOL change_wind_direction)
{
UINT16 time_length = 0;
UINT8 i = 0;

View File

@@ -9,9 +9,17 @@ Revision log:
* 2016-11-05: created by strawmanbobi
**************************************************************************************************/
#if defined WIN32
#include "stdafx.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#if !defined WIN32
#include <unistd.h>
#endif
#include <errno.h>
#include "include/irda_defs.h"
@@ -27,7 +35,12 @@ INT8 irda_tv_file_open(const char* file_name);
INT8 irda_ac_file_open(const char* file_name)
{
#if !defined WIN32
FILE *stream = fopen(file_name, "rb");
#else
FILE *stream;
fopen_s(&stream, file_name, "rb");
#endif
if (NULL == stream)
{
IR_PRINTF("\nfile open failed : %d\n", errno);
@@ -209,7 +222,13 @@ INT8 decode_as_ac(const char* file_name)
INT8 irda_tv_file_open(const char* file_name)
{
int print_index = 0;
#if !defined WIN32
FILE *stream = fopen(file_name, "rb");
#else
FILE *stream;
fopen_s(&stream, file_name, "rb");
#endif
IR_PRINTF("file name = %s\n", file_name);

View File

@@ -13,6 +13,10 @@ Revision log:
* INCLUDES
**************************************************************************************************/
#if defined WIN32
#include "stdafx.h"
#endif
#include <string.h>
#include "include/irda_defs.h"

View File

@@ -9,6 +9,10 @@ Revision log:
* 2016-10-01: created by strawmanbobi
**************************************************************************************************/
#ifdef WIN32
#include "stdafx.h"
#endif
#include "include/irda_utils.h"
UINT8 char_to_hex(char chr)

1
src/ir_decoder/stdafx.c Normal file
View File

@@ -0,0 +1 @@
#include "stdafx.h"

7
src/ir_decoder/stdafx.h Normal file
View File

@@ -0,0 +1,7 @@
#pragma once
#include "targetver.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>

View File

@@ -0,0 +1,3 @@
#pragma once
#include <SDKDDKVer.h>