update 2016-11-05 b1
1. sorted up header files
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,4 +1,6 @@
|
|||||||
*.bin
|
*.bin
|
||||||
*/output/
|
*/output/
|
||||||
src/ir_decoder/.idea
|
src/ir_decoder/.idea
|
||||||
src/ir_encoder/.idea
|
src/ir_encoder/.idea
|
||||||
|
files/
|
||||||
|
files/*
|
||||||
@@ -5,21 +5,21 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
|||||||
add_definitions(-DBOARD_PC)
|
add_definitions(-DBOARD_PC)
|
||||||
set(SOURCE_FILES
|
set(SOURCE_FILES
|
||||||
irda_decode.c
|
irda_decode.c
|
||||||
irda_decode.h
|
include/irda_decode.h
|
||||||
irda_lib.c
|
irda_lib.c
|
||||||
irda_lib.h
|
include/irda_lib.h
|
||||||
irda_apply.c
|
irda_apply.c
|
||||||
irda_apply.h
|
include/irda_apply.h
|
||||||
irda_defs.h
|
include/irda_defs.h
|
||||||
irda_irframe.c
|
irda_irframe.c
|
||||||
irda_irframe.h
|
include/irda_irframe.h
|
||||||
irda_parse_ac_parameter.c
|
irda_parse_ac_parameter.c
|
||||||
irda_parse_ac_parameter.h
|
include/irda_parse_ac_parameter.h
|
||||||
irda_parse_forbidden_info.c
|
irda_parse_forbidden_info.c
|
||||||
irda_parse_forbidden_info.h
|
include/irda_parse_forbidden_info.h
|
||||||
irda_parse_frame_parameter.c
|
irda_parse_frame_parameter.c
|
||||||
irda_parse_frame_parameter.h
|
include/irda_parse_frame_parameter.h
|
||||||
irda_utils.c
|
irda_utils.c
|
||||||
irda_utils.h)
|
include/irda_utils.h)
|
||||||
|
|
||||||
add_executable(irda_decoder ${SOURCE_FILES})
|
add_executable(irda_decoder ${SOURCE_FILES})
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
The LIBIRDECODE distribution is Copyright (c) 2015 Strawmanbobi
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
@@ -12,9 +12,9 @@ Revision log:
|
|||||||
*inclusion
|
*inclusion
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "irda_utils.h"
|
#include "./include/irda_utils.h"
|
||||||
#include "irda_decode.h"
|
#include "./include/irda_decode.h"
|
||||||
#include "irda_apply.h"
|
#include "./include/irda_apply.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* global vars
|
* global vars
|
||||||
|
|||||||
@@ -19,14 +19,14 @@ Revision log:
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "irda_decode.h"
|
#include "./include/irda_decode.h"
|
||||||
#include "irda_utils.h"
|
#include "./include/irda_utils.h"
|
||||||
#include "irda_parse_frame_parameter.h"
|
#include "./include/irda_parse_frame_parameter.h"
|
||||||
#include "irda_parse_ac_parameter.h"
|
#include "./include/irda_parse_ac_parameter.h"
|
||||||
#include "irda_parse_forbidden_info.h"
|
#include "./include/irda_parse_forbidden_info.h"
|
||||||
#include "irda_irframe.h"
|
#include "./include/irda_irframe.h"
|
||||||
#include "irda_apply.h"
|
#include "./include/irda_apply.h"
|
||||||
#include "irda_lib.h"
|
#include "./include/irda_lib.h"
|
||||||
|
|
||||||
struct ir_bin_buffer binaryfile;
|
struct ir_bin_buffer binaryfile;
|
||||||
struct ir_bin_buffer *pirda_buffer = &binaryfile;
|
struct ir_bin_buffer *pirda_buffer = &binaryfile;
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ Revision log:
|
|||||||
**************************************************************************************************/
|
**************************************************************************************************/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "irda_irframe.h"
|
#include "./include/irda_irframe.h"
|
||||||
#include "irda_decode.h"
|
#include "./include/irda_decode.h"
|
||||||
|
|
||||||
extern protocol* context;
|
extern protocol* context;
|
||||||
|
|
||||||
|
|||||||
@@ -13,10 +13,11 @@ Revision log:
|
|||||||
* INCLUDES
|
* INCLUDES
|
||||||
**************************************************************************************************/
|
**************************************************************************************************/
|
||||||
|
|
||||||
#include "stdio.h"
|
#include <stdio.h>
|
||||||
#include "irda_defs.h"
|
#include <string.h>
|
||||||
#include "irda_lib.h"
|
|
||||||
#include "string.h"
|
#include "./include/irda_defs.h"
|
||||||
|
#include "./include/irda_lib.h"
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************************************
|
/**************************************************************************************************
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ Revision log:
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "irda_utils.h"
|
|
||||||
#include "irda_parse_ac_parameter.h"
|
#include "./include/irda_utils.h"
|
||||||
#include "irda_decode.h"
|
#include "./include/irda_parse_ac_parameter.h"
|
||||||
|
#include "./include/irda_decode.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* global vars
|
* global vars
|
||||||
|
|||||||
@@ -12,13 +12,13 @@ Revision log:
|
|||||||
/*
|
/*
|
||||||
*inclusion
|
*inclusion
|
||||||
*/
|
*/
|
||||||
#include "irda_decode.h"
|
|
||||||
#include "irda_utils.h"
|
|
||||||
#include "irda_parse_forbidden_info.h"
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "./include/irda_decode.h"
|
||||||
|
#include "./include/irda_utils.h"
|
||||||
|
#include "./include/irda_parse_forbidden_info.h"
|
||||||
/*
|
/*
|
||||||
* global vars
|
* global vars
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -15,9 +15,10 @@ Revision log:
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "irda_utils.h"
|
|
||||||
#include "irda_parse_frame_parameter.h"
|
#include "./include/irda_utils.h"
|
||||||
#include "irda_decode.h"
|
#include "./include/irda_parse_frame_parameter.h"
|
||||||
|
#include "./include/irda_decode.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* global vars
|
* global vars
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ Revision log:
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "irda_utils.h"
|
#include "./include/irda_utils.h"
|
||||||
#include "irda_decode.h"
|
#include "./include/irda_decode.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*0123456789abcdef/0123456789ABCDEF
|
*0123456789abcdef/0123456789ABCDEF
|
||||||
|
|||||||
Reference in New Issue
Block a user