Changed file extension of all C++ only header files from .h to .hpp

This commit is contained in:
Silvano Seva 2022-07-09 18:22:36 +02:00
parent 34c90c2485
commit 54aa794bf8
35 changed files with 66 additions and 66 deletions

View File

@ -26,7 +26,7 @@
#endif
#include <string>
#include "M17Datatypes.h"
#include "M17Datatypes.hpp"
namespace M17
{

View File

@ -28,7 +28,7 @@
#endif
#include <experimental/array>
#include "M17Utils.h"
#include "M17Utils.hpp"
namespace M17
{

View File

@ -21,7 +21,7 @@
#ifndef M17_CONSTANTS_H
#define M17_CONSTANTS_H
#include <M17/M17Datatypes.h>
#include <M17/M17Datatypes.hpp>
#include <cstdint>
#include <array>

View File

@ -34,8 +34,8 @@
#include <dsp.h>
#include <cmath>
#include <interfaces/audio_stream.h>
#include <M17/M17Datatypes.h>
#include <M17/M17Constants.h>
#include <M17/M17Datatypes.hpp>
#include <M17/M17Constants.hpp>
namespace M17
{

View File

@ -28,9 +28,9 @@
#include <cstdint>
#include <string>
#include <array>
#include "M17LinkSetupFrame.h"
#include "M17Viterbi.h"
#include "M17StreamFrame.h"
#include "M17LinkSetupFrame.hpp"
#include "M17Viterbi.hpp"
#include "M17StreamFrame.hpp"
namespace M17
{

View File

@ -27,9 +27,9 @@
#include <string>
#include <array>
#include "M17ConvolutionalEncoder.h"
#include "M17LinkSetupFrame.h"
#include "M17StreamFrame.h"
#include "M17ConvolutionalEncoder.hpp"
#include "M17LinkSetupFrame.hpp"
#include "M17StreamFrame.hpp"
namespace M17
{

View File

@ -27,7 +27,7 @@
#error This header is C++ only!
#endif
#include "M17Utils.h"
#include "M17Utils.hpp"
namespace M17
{

View File

@ -27,7 +27,7 @@
#include <string>
#include <array>
#include "M17Datatypes.h"
#include "M17Datatypes.hpp"
namespace M17
{

View File

@ -26,7 +26,7 @@
#endif
#include <interfaces/audio_stream.h>
#include <M17/M17Constants.h>
#include <M17/M17Constants.hpp>
#include <cstdint>
#include <memory>
#include <array>

View File

@ -27,7 +27,7 @@
#include <cstring>
#include <string>
#include "M17Datatypes.h"
#include "M17Datatypes.hpp"
namespace M17
{

View File

@ -27,10 +27,10 @@
#include <string>
#include <array>
#include "M17ConvolutionalEncoder.h"
#include "M17LinkSetupFrame.h"
#include "M17StreamFrame.h"
#include "M17Modulator.h"
#include "M17ConvolutionalEncoder.hpp"
#include "M17LinkSetupFrame.hpp"
#include "M17StreamFrame.hpp"
#include "M17Modulator.hpp"
namespace M17
{

View File

@ -31,7 +31,7 @@
#include <cstddef>
#include <array>
#include <bitset>
#include "M17Utils.h"
#include "M17Utils.hpp"
namespace M17
{

View File

@ -21,7 +21,7 @@
#ifndef OPMODE_FM_H
#define OPMODE_FM_H
#include "OpMode.h"
#include "OpMode.hpp"
/**
* Specialisation of the OpMode class for the management of analog FM operating

View File

@ -21,11 +21,11 @@
#ifndef OPMODE_M17_H
#define OPMODE_M17_H
#include <M17/M17FrameDecoder.h>
#include <M17/M17Transmitter.h>
#include <M17/M17Demodulator.h>
#include <M17/M17Modulator.h>
#include "OpMode.h"
#include <M17/M17FrameDecoder.hpp>
#include <M17/M17Transmitter.hpp>
#include <M17/M17Demodulator.hpp>
#include <M17/M17Modulator.hpp>
#include "OpMode.hpp"
/**
* Specialisation of the OpMode class for the management of M17 operating mode.

View File

@ -21,7 +21,7 @@
***************************************************************************/
#include <string>
#include <M17/M17Callsign.h>
#include <M17/M17Callsign.hpp>
bool M17::encode_callsign(const std::string& callsign, call_t& encodedCall,
bool strict)

View File

@ -18,7 +18,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/> *
***************************************************************************/
#include <M17/M17DSP.h>
#include <M17/M17DSP.hpp>
Fir< std::tuple_size< decltype(M17::rrc_taps_48k) >::value > M17::rrc_48k(M17::rrc_taps_48k);
Fir< std::tuple_size< decltype(M17::rrc_taps_24k) >::value > M17::rrc_24k(M17::rrc_taps_24k);

View File

@ -20,9 +20,9 @@
* along with this program; if not, see <http://www.gnu.org/licenses/> *
***************************************************************************/
#include <M17/M17Demodulator.h>
#include <M17/M17DSP.h>
#include <M17/M17Utils.h>
#include <M17/M17Demodulator.hpp>
#include <M17/M17DSP.hpp>
#include <M17/M17Utils.hpp>
#include <interfaces/audio_stream.h>
#include <math.h>
#include <cstring>

View File

@ -18,13 +18,13 @@
* along with this program; if not, see <http://www.gnu.org/licenses/> *
***************************************************************************/
#include <M17/M17Golay.h>
#include <M17/M17FrameDecoder.h>
#include <M17/M17Interleaver.h>
#include <M17/M17Decorrelator.h>
#include <M17/M17CodePuncturing.h>
#include <M17/M17Constants.h>
#include <M17/M17Utils.h>
#include <M17/M17Golay.hpp>
#include <M17/M17FrameDecoder.hpp>
#include <M17/M17Interleaver.hpp>
#include <M17/M17Decorrelator.hpp>
#include <M17/M17CodePuncturing.hpp>
#include <M17/M17Constants.hpp>
#include <M17/M17Utils.hpp>
#include <algorithm>
using namespace M17;

View File

@ -18,11 +18,11 @@
* along with this program; if not, see <http://www.gnu.org/licenses/> *
***************************************************************************/
#include <M17/M17CodePuncturing.h>
#include <M17/M17Decorrelator.h>
#include <M17/M17Interleaver.h>
#include <M17/M17FrameEncoder.h>
#include <M17/M17Constants.h>
#include <M17/M17CodePuncturing.hpp>
#include <M17/M17Decorrelator.hpp>
#include <M17/M17Interleaver.hpp>
#include <M17/M17FrameEncoder.hpp>
#include <M17/M17Constants.hpp>
using namespace M17;

View File

@ -20,7 +20,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/> *
***************************************************************************/
#include <M17/M17Golay.h>
#include <M17/M17Golay.hpp>
using namespace M17;

View File

@ -19,9 +19,9 @@
***************************************************************************/
#include <cstring>
#include <M17/M17Golay.h>
#include <M17/M17Callsign.h>
#include <M17/M17LinkSetupFrame.h>
#include <M17/M17Golay.hpp>
#include <M17/M17Callsign.hpp>
#include <M17/M17LinkSetupFrame.hpp>
using namespace M17;

View File

@ -22,9 +22,9 @@
#include <cstddef>
#include <cstring>
#include <experimental/array>
#include <M17/M17Modulator.h>
#include <M17/M17Utils.h>
#include <M17/M17DSP.h>
#include <M17/M17Modulator.hpp>
#include <M17/M17Utils.hpp>
#include <M17/M17DSP.hpp>
#if defined(PLATFORM_LINUX)
#include <stdio.h>

View File

@ -18,10 +18,10 @@
* along with this program; if not, see <http://www.gnu.org/licenses/> *
***************************************************************************/
#include <M17/M17CodePuncturing.h>
#include <M17/M17Decorrelator.h>
#include <M17/M17Interleaver.h>
#include <M17/M17Transmitter.h>
#include <M17/M17CodePuncturing.hpp>
#include <M17/M17Decorrelator.hpp>
#include <M17/M17Interleaver.hpp>
#include <M17/M17Transmitter.hpp>
using namespace M17;

View File

@ -1,8 +1,8 @@
/***************************************************************************
* Copyright (C) 2021 by Federico Amedeo Izzo IU2NUO, *
* Niccolò Izzo IU2KIN *
* Frederik Saraci IU2NRO *
* Silvano Seva IU2KWO *
* Copyright (C) 2021 - 2022 by Federico Amedeo Izzo IU2NUO, *
* Niccolò Izzo IU2KIN *
* Frederik Saraci IU2NRO *
* Silvano Seva IU2KWO *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@ -22,7 +22,7 @@
#include <interfaces/delays.h>
#include <interfaces/radio.h>
#include <interfaces/audio.h>
#include <OpMode_FM.h>
#include <OpMode_FM.hpp>
#include <rtx.h>
#ifdef PLATFORM_MDUV3x0

View File

@ -22,7 +22,7 @@
#include <interfaces/delays.h>
#include <interfaces/audio.h>
#include <interfaces/radio.h>
#include <OpMode_M17.h>
#include <OpMode_M17.hpp>
#include <audio_codec.h>
#include <rtx.h>

View File

@ -1,8 +1,8 @@
/***************************************************************************
* Copyright (C) 2020 by Federico Amedeo Izzo IU2NUO, *
* Niccolò Izzo IU2KIN *
* Frederik Saraci IU2NRO *
* Silvano Seva IU2KWO *
* Copyright (C) 2020 - 2022 by Federico Amedeo Izzo IU2NUO, *
* Niccolò Izzo IU2KIN *
* Frederik Saraci IU2NRO *
* Silvano Seva IU2KWO *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@ -21,8 +21,8 @@
#include <interfaces/radio.h>
#include <string.h>
#include <rtx.h>
#include <OpMode_FM.h>
#include <OpMode_M17.h>
#include <OpMode_FM.hpp>
#include <OpMode_M17.hpp>
pthread_mutex_t *cfgMutex; // Mutex for incoming config messages