diff --git a/features/nfc/nfc/ndef/MessageBuilder.h b/features/nfc/nfc/ndef/MessageBuilder.h index 3ddb4a5723..36db3fc8fa 100644 --- a/features/nfc/nfc/ndef/MessageBuilder.h +++ b/features/nfc/nfc/ndef/MessageBuilder.h @@ -19,10 +19,10 @@ #include -#include "Record.h" - #include "platform/Span.h" +#include "nfc/ndef/Record.h" + namespace mbed { namespace nfc { namespace ndef { diff --git a/features/nfc/nfc/ndef/RecordParser.h b/features/nfc/nfc/ndef/RecordParser.h index 3f64cc72aa..8284453cc4 100644 --- a/features/nfc/nfc/ndef/RecordParser.h +++ b/features/nfc/nfc/ndef/RecordParser.h @@ -18,7 +18,8 @@ #define NFC_NDEF_RECORDPARSER_H_ #include -#include "Record.h" + +#include "nfc/ndef/Record.h" namespace mbed { namespace nfc { diff --git a/features/nfc/nfc/ndef/common/Mime.h b/features/nfc/nfc/ndef/common/Mime.h index ee10b765c5..1a88e5f16f 100644 --- a/features/nfc/nfc/ndef/common/Mime.h +++ b/features/nfc/nfc/ndef/common/Mime.h @@ -17,11 +17,13 @@ #ifndef NFC_COMMON_MIME_H_ #define NFC_COMMON_MIME_H_ -#include "platform/Span.h" -#include -#include #include +#include "platform/Span.h" + +#include "nfc/ndef/RecordParser.h" +#include "nfc/ndef/MessageBuilder.h" + namespace mbed { namespace nfc { namespace ndef { diff --git a/features/nfc/nfc/ndef/common/SimpleMessageParser.h b/features/nfc/nfc/ndef/common/SimpleMessageParser.h index 2e9859c9fd..78970966ae 100644 --- a/features/nfc/nfc/ndef/common/SimpleMessageParser.h +++ b/features/nfc/nfc/ndef/common/SimpleMessageParser.h @@ -18,11 +18,12 @@ #define NFC_COMMON_SIMPLEMESSAGEPARSER_H_ #include "platform/Span.h" + #include "nfc/ndef/MessageParser.h" #include "nfc/ndef/RecordParser.h" -#include "URI.h" -#include "Text.h" -#include "Mime.h" +#include "nfc/ndef/common/URI.h" +#include "nfc/ndef/common/Text.h" +#include "nfc/ndef/common/Mime.h" namespace mbed { namespace nfc { diff --git a/features/nfc/nfc/ndef/common/Text.h b/features/nfc/nfc/ndef/common/Text.h index 997394d251..76f72945b3 100644 --- a/features/nfc/nfc/ndef/common/Text.h +++ b/features/nfc/nfc/ndef/common/Text.h @@ -17,11 +17,13 @@ #ifndef NFC_COMMON_TEXT_H_ #define NFC_COMMON_TEXT_H_ -#include "platform/Span.h" -#include -#include #include +#include "platform/Span.h" + +#include "nfc/ndef/RecordParser.h" +#include "nfc/ndef/MessageBuilder.h" + namespace mbed { namespace nfc { namespace ndef { diff --git a/features/nfc/nfc/ndef/common/URI.h b/features/nfc/nfc/ndef/common/URI.h index df10e064cc..afef7d5285 100644 --- a/features/nfc/nfc/ndef/common/URI.h +++ b/features/nfc/nfc/ndef/common/URI.h @@ -17,12 +17,13 @@ #ifndef NFC_COMMON_URI_H_ #define NFC_COMMON_URI_H_ -#include -#include #include #include -#include +#include "platform/Span.h" + +#include "nfc/ndef/RecordParser.h" +#include "nfc/ndef/MessageBuilder.h" namespace mbed { namespace nfc { diff --git a/features/nfc/source/nfc/ndef/MessageBuilder.cpp b/features/nfc/source/nfc/ndef/MessageBuilder.cpp index 46fa01025d..a71c840a53 100644 --- a/features/nfc/source/nfc/ndef/MessageBuilder.cpp +++ b/features/nfc/source/nfc/ndef/MessageBuilder.cpp @@ -14,9 +14,10 @@ * limitations under the License. */ -#include "MessageBuilder.h" #include +#include "nfc/ndef/MessageBuilder.h" + namespace mbed { namespace nfc { namespace ndef { diff --git a/features/nfc/source/nfc/ndef/MessageParser.cpp b/features/nfc/source/nfc/ndef/MessageParser.cpp index ef264ef4bf..da06f8c6a5 100644 --- a/features/nfc/source/nfc/ndef/MessageParser.cpp +++ b/features/nfc/source/nfc/ndef/MessageParser.cpp @@ -16,8 +16,8 @@ #include -#include "MessageParser.h" -#include "Record.h" +#include "nfc/ndef/MessageParser.h" +#include "nfc/ndef/Record.h" namespace { struct buffer_iterator_t { diff --git a/features/nfc/source/nfc/ndef/RecordParser.cpp b/features/nfc/source/nfc/ndef/RecordParser.cpp index 426ce9bb22..a3ae07c34d 100644 --- a/features/nfc/source/nfc/ndef/RecordParser.cpp +++ b/features/nfc/source/nfc/ndef/RecordParser.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "RecordParser.h" +#include "nfc/ndef/RecordParser.h" namespace mbed { namespace nfc { diff --git a/features/nfc/source/nfc/ndef/common/Mime.cpp b/features/nfc/source/nfc/ndef/common/Mime.cpp index ca651c1d77..496e31e8d3 100644 --- a/features/nfc/source/nfc/ndef/common/Mime.cpp +++ b/features/nfc/source/nfc/ndef/common/Mime.cpp @@ -16,7 +16,7 @@ #include -#include "Mime.h" +#include "nfc/ndef/common/Mime.h" namespace mbed { namespace nfc { diff --git a/features/nfc/source/nfc/ndef/common/SimpleMessageParser.cpp b/features/nfc/source/nfc/ndef/common/SimpleMessageParser.cpp index 867e9f4d73..fcf872f7ca 100644 --- a/features/nfc/source/nfc/ndef/common/SimpleMessageParser.cpp +++ b/features/nfc/source/nfc/ndef/common/SimpleMessageParser.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "SimpleMessageParser.h" +#include "nfc/ndef/common/SimpleMessageParser.h" namespace mbed { namespace nfc { diff --git a/features/nfc/source/nfc/ndef/common/Text.cpp b/features/nfc/source/nfc/ndef/common/Text.cpp index bc7e0550b8..ea7979e8fa 100644 --- a/features/nfc/source/nfc/ndef/common/Text.cpp +++ b/features/nfc/source/nfc/ndef/common/Text.cpp @@ -16,7 +16,7 @@ #include -#include "Text.h" +#include "nfc/ndef/common/Text.h" namespace { static const uint8_t utf16_encoding_bit = (1 << 7); diff --git a/features/nfc/source/nfc/ndef/common/URI.cpp b/features/nfc/source/nfc/ndef/common/URI.cpp index ccd6ad953f..7213bac929 100644 --- a/features/nfc/source/nfc/ndef/common/URI.cpp +++ b/features/nfc/source/nfc/ndef/common/URI.cpp @@ -15,7 +15,8 @@ */ #include -#include "URI.h" + +#include "nfc/ndef/common/URI.h" namespace { static const uint8_t uri_id_code_size = 1; diff --git a/features/nfc/source/nfc/ndef/common/util.cpp b/features/nfc/source/nfc/ndef/common/util.cpp index 34dd815102..ed4e3ff417 100644 --- a/features/nfc/source/nfc/ndef/common/util.cpp +++ b/features/nfc/source/nfc/ndef/common/util.cpp @@ -14,10 +14,10 @@ * limitations under the License. */ -#include "nfc/ndef/common/util.h" - #include +#include "nfc/ndef/common/util.h" + namespace mbed { namespace nfc { namespace ndef {