diff options
| author | mykola.salomatin <mykola.salomatin@globallogic.com> | 2020-05-29 11:44:57 +0300 | 
|---|---|---|
| committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-05-29 11:49:24 +0300 | 
| commit | 04b90430c91f4257ebeff3bcccbe8c5d7413e7ae (patch) | |
| tree | 64f6423de18f09e5791d9c5da216a5cfe4bc4fd0 /src/MTS_IO_CellularRadioFactory.cpp | |
| parent | b3a9a71afdb0d6f4f104543cedba89d011ca68df (diff) | |
| download | libmts-io-04b90430c91f4257ebeff3bcccbe8c5d7413e7ae.tar.gz libmts-io-04b90430c91f4257ebeff3bcccbe8c5d7413e7ae.tar.bz2 libmts-io-04b90430c91f4257ebeff3bcccbe8c5d7413e7ae.zip | |
mPower Oct20: L4G1 libmts-io support
Diffstat (limited to 'src/MTS_IO_CellularRadioFactory.cpp')
| -rw-r--r-- | src/MTS_IO_CellularRadioFactory.cpp | 9 | 
1 files changed, 7 insertions, 2 deletions
| diff --git a/src/MTS_IO_CellularRadioFactory.cpp b/src/MTS_IO_CellularRadioFactory.cpp index 08c6315..1a2cee2 100644 --- a/src/MTS_IO_CellularRadioFactory.cpp +++ b/src/MTS_IO_CellularRadioFactory.cpp @@ -37,6 +37,7 @@  #include <mts/MTS_IO_CE910Radio.h>  #include <mts/MTS_IO_DE910Radio.h>  #include "mts/MTS_IO_EG95Radio.h" +#include "mts/MTS_IO_EG25Radio.h"  #include <mts/MTS_Logger.h>  using namespace MTS::IO; @@ -60,6 +61,7 @@ CellularRadioFactory::CellularRadioFactory() {      m_mCreationMap[CE910Radio::MODEL_NAME]        = &CellularRadioFactory::createCE910;      m_mCreationMap[LE866A1JSRadio::MODEL_NAME]    = &CellularRadioFactory::createLE866A1JS;      m_mCreationMap[EG95Radio::MODEL_NAME]         = &CellularRadioFactory::createEG95Radio; +    m_mCreationMap[EG25Radio::MODEL_NAME]         = &CellularRadioFactory::createEG25Radio;  }  ICellularRadio* CellularRadioFactory::create(const std::string& sModel, const std::string& sPort) { @@ -191,7 +193,10 @@ ICellularRadio* CellularRadioFactory::createLE866A1JS(const std::string &sPort)      return new LE866A1JSRadio(sPort);  } -ICellularRadio* CellularRadioFactory::createEG95Radio(const std::string& sPort) const -{ +ICellularRadio* CellularRadioFactory::createEG95Radio(const std::string& sPort) const {      return new EG95Radio(sPort);  } + +ICellularRadio* CellularRadioFactory::createEG25Radio(const std::string& sPort) const { +    return new EG25Radio(sPort); +} | 
