Skip to content

Moving private includes to sub-directory, #464 #507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion examples/IRtest/IRtest.ino
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
*/

#include <IRremote.h>
#include <IRremoteInt.h>

// Dumps out the decode_results structure.
// Call this after IRrecv::decode()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

#include <IRremote.h>
#include <IRremoteInt.h>

IRsend irsend;

Expand Down
3 changes: 1 addition & 2 deletions src/IRremote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@

// Defining IR_GLOBAL here allows us to declare the instantiation of global variables
#define IR_GLOBAL
# include "IRremote.h"
# include "IRremoteInt.h"
#include "IRremote.h"
#undef IR_GLOBAL

#ifdef HAS_AVR_INTERRUPT_H
Expand Down
2 changes: 1 addition & 1 deletion src/IRremote.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
//------------------------------------------------------------------------------
// The ISR header contains several useful macros the user may wish to use
//
#include "IRremoteInt.h"
#include "private/IRremoteInt.h"

//------------------------------------------------------------------------------
// Supported IR protocols
Expand Down
1 change: 0 additions & 1 deletion src/esp32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// This file contains functions specific to the ESP32.

#include "IRremote.h"
#include "IRremoteInt.h"

// "Idiot check"
#ifdef USE_DEFAULT_ENABLE_IR_IN
Expand Down
1 change: 0 additions & 1 deletion src/irRecv.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

//+=============================================================================
// Decodes the received IR message
Expand Down
3 changes: 1 addition & 2 deletions src/irSend.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

#ifdef SENDING_SUPPORTED
//+=============================================================================
Expand Down Expand Up @@ -136,4 +135,4 @@ void IRsend::custom_delay_usec(unsigned long uSecs) {
//}
}

#endif // SENDING_SUPPORTED
#endif // SENDING_SUPPORTED
1 change: 0 additions & 1 deletion src/ir_Aiwa.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

//==============================================================================
// AAA IIIII W W AAA
Expand Down
1 change: 0 additions & 1 deletion src/ir_Denon.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

// Reverse Engineered by looking at RAW dumps generated by IRremote

Expand Down
1 change: 0 additions & 1 deletion src/ir_Dish.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

//==============================================================================
// DDDD IIIII SSSS H H
Expand Down
1 change: 0 additions & 1 deletion src/ir_JVC.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

//==============================================================================
// JJJJJ V V CCCC
Expand Down
1 change: 0 additions & 1 deletion src/ir_LG.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

//==============================================================================
// L GGGG
Expand Down
1 change: 0 additions & 1 deletion src/ir_Lego_PF.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "ir_Lego_PF_BitStreamEncoder.h"

//==============================================================================
Expand Down
1 change: 0 additions & 1 deletion src/ir_Mitsubishi.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

//==============================================================================
// MMMMM IIIII TTTTT SSSS U U BBBB IIIII SSSS H H IIIII
Expand Down
1 change: 0 additions & 1 deletion src/ir_NEC.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

//==============================================================================
// N N EEEEE CCCC
Expand Down
1 change: 0 additions & 1 deletion src/ir_Panasonic.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

//==============================================================================
// PPPP AAA N N AAA SSSS OOO N N IIIII CCCC
Expand Down
1 change: 0 additions & 1 deletion src/ir_RC5_RC6.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

//+=============================================================================
// Gets one undecoded level at a time from the raw buffer.
Expand Down
1 change: 0 additions & 1 deletion src/ir_Samsung.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

//==============================================================================
// SSSS AAA MMM SSSS U U N N GGGG
Expand Down
1 change: 0 additions & 1 deletion src/ir_Sanyo.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

//==============================================================================
// SSSS AAA N N Y Y OOO
Expand Down
1 change: 0 additions & 1 deletion src/ir_Sharp.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

//==============================================================================
// SSSS H H AAA RRRR PPPP
Expand Down
1 change: 0 additions & 1 deletion src/ir_Sony.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

//==============================================================================
// SSSS OOO N N Y Y
Expand Down
1 change: 0 additions & 1 deletion src/ir_Template.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ Regards,
*/

#include "IRremote.h"
#include "IRremoteInt.h"

//==============================================================================
//
Expand Down
1 change: 0 additions & 1 deletion src/ir_Whynter.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "IRremote.h"
#include "IRremoteInt.h"

//==============================================================================
// W W H H Y Y N N TTTTT EEEEE RRRRR
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions src/sam.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Support routines for SAM processor boards

#include "IRremote.h"
#include "IRremoteInt.h"

#if defined(ARDUINO_ARCH_SAM) || defined(ARDUINO_ARCH_SAMD)

Expand Down Expand Up @@ -99,4 +98,4 @@ void TC3_Handler(void)
}
}

#endif // defined(ARDUINO_ARCH_SAM) || defined(ARDUINO_ARCH_SAMD)
#endif // defined(ARDUINO_ARCH_SAM) || defined(ARDUINO_ARCH_SAMD)